Ignore errors on shutdown for the relay
git-svn-id: file:///home/svn/framework3/trunk@7795 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2a5a5207f5
commit
d2694ce5b9
|
@ -83,11 +83,17 @@ class LocalRelay
|
|||
end
|
||||
|
||||
def shutdown
|
||||
listener.shutdown if (listener)
|
||||
begin
|
||||
listener.shutdown if (listener)
|
||||
rescue ::Exception
|
||||
end
|
||||
end
|
||||
|
||||
def close
|
||||
listener.close if (listener)
|
||||
begin
|
||||
listener.close if (listener)
|
||||
rescue ::Exception
|
||||
end
|
||||
listener = nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue