remove sockets if fenrir stops
This commit is contained in:
@ -91,6 +91,9 @@ class remoteManager():
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
client_sock.close()
|
client_sock.close()
|
||||||
|
|
||||||
|
if os.path.exists(socketpath):
|
||||||
|
os.remove(socketpath)
|
||||||
if self.sock:
|
if self.sock:
|
||||||
self.sock.close()
|
self.sock.close()
|
||||||
self.sock = None
|
self.sock = None
|
||||||
|
Reference in New Issue
Block a user