Should fix ProcessLookupError exceptions.

This commit is contained in:
Jeremy
2015-03-11 10:53:09 -06:00
parent 1610067eee
commit 223f3ee705
5 changed files with 21 additions and 16 deletions

View File

@ -1249,6 +1249,8 @@ class Router(BaseVM):
port_number=port_number))
nio = adapter.get_nio(port_number)
if nio is None:
return
if isinstance(nio, NIOUDP):
self.manager.port_manager.release_udp_port(nio.lport)
adapter.remove_nio(port_number)