diff --git a/src/fenrirscreenreader/core/remoteManager.py b/src/fenrirscreenreader/core/remoteManager.py index c7dc6fb7..72b71763 100644 --- a/src/fenrirscreenreader/core/remoteManager.py +++ b/src/fenrirscreenreader/core/remoteManager.py @@ -91,6 +91,9 @@ class remoteManager(): except: pass client_sock.close() + + if os.path.exists(socketpath): + os.remove(socketpath) if self.sock: self.sock.close() self.sock = None