V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit f77afe8fae - Show all commits

View File

@ -206,8 +206,14 @@ class uPnPThread(threading.Thread, StoppableThread):
for router in self.routers:
if router.extPort is None:
self.createPortMapping(router)
self.sock.shutdown(socket.SHUT_RDWR)
self.sock.close()
try:
self.sock.shutdown(socket.SHUT_RDWR)
except:
pass
try:
self.sock.close()
except:
pass
deleted = False
for router in self.routers:
if router.extPort is not None: