fix for tcp server/http server compat

git-svn-id: file:///home/svn/framework3/trunk@4210 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2006-12-17 06:49:04 +00:00
parent a8776d85df
commit d16a368ea2
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ module Exploit::Remote::TcpServer
def stop_service
if (service)
self.service.stop
self.service.close
self.service.close if self.service.kind_of?(Rex::Socket)
self.service = nil
end
end