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-b9f4589650daunstable
parent
31f84d6d16
commit
b698d99209
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue