remove sockets if fenrir stops

This commit is contained in:
chrys 2018-09-07 20:45:42 +02:00
parent a3cb2010ab
commit 0d0985af9d

View File

@ -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