catch IOError that may be raised when closing a socket that is already closed, fixes #61

git-svn-id: file:///home/svn/framework3/trunk@5074 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2007-08-10 23:09:00 +00:00
parent 31f84d6d16
commit b698d99209
1 changed files with 6 additions and 3 deletions

View File

@ -264,8 +264,11 @@ protected
self.rfds.delete(relay.listener)
self.relays.delete(relay.name)
relay.shutdown
relay.close
begin
relay.shutdown
relay.close
rescue IOError
end
end
#