remove sockets if fenrir stops
This commit is contained in:
parent
a3cb2010ab
commit
0d0985af9d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user