Author: tack
Date: Wed Mar 12 20:20:55 2008
New Revision: 3184
Log:
Don't remove the unix socket if we weren't the one who created it. (In other
words, clients should not remove the socket file. Duh.)
Modified:
trunk/base/src/notifier/sockets.py
Modified: trunk/base/src/notifier/sockets.py
==============================================================================
--- trunk/base/src/notifier/sockets.py (original)
+++ trunk/base/src/notifier/sockets.py Wed Mar 12 20:20:55 2008
@@ -469,7 +469,7 @@
self._queue_close = False
self._socket.close()
- if isinstance(self._addr, basestring) and self._addr.startswith('/'):
+ if self._listening and isinstance(self._addr, basestring) and
self._addr.startswith('/'):
# Remove unix socket if it exists.
try:
os.unlink(self._addr)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog