SF.net SVN: fclient: [403] trunk/sandbox/fcp2/client.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-05-05 11:18:25
|
Revision: 403
http://fclient.svn.sourceforge.net/fclient/?rev=403&view=rev
Author: jUrner
Date: 2008-05-05 04:18:18 -0700 (Mon, 05 May 2008)
Log Message:
-----------
got two close events (atexit triggered the sdecond). fixed
Modified Paths:
--------------
trunk/sandbox/fcp2/client.py
Modified: trunk/sandbox/fcp2/client.py
===================================================================
--- trunk/sandbox/fcp2/client.py 2008-05-05 08:00:40 UTC (rev 402)
+++ trunk/sandbox/fcp2/client.py 2008-05-05 11:18:18 UTC (rev 403)
@@ -308,10 +308,11 @@
self._ddaTests = []
self._requests = {}
+ #TODO: complain if we are already closed?
if self.ioHandler.isOpen():
self.ioHandler.close()
- if msg is not None:
- self.events.ClientDisconnected(msg)
+ if msg is not None:
+ self.events.ClientDisconnected(msg)
#TODO: check if this method is still needed
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|