Permalink
Browse files

Fix a bug with disconnecting.

  • Loading branch information...
1 parent 3dd7c9a commit 0659a97b7108b751616c38c8c7419564e024cfeb @alex alex committed Feb 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 daemon/orbited/transports/base.py
@@ -67,7 +67,7 @@ def close(self):
self.heartbeatTimer.cancel()
self.heartbeatTimer = None
self.open = False
- if self.request:
+ if self.request and not self.request._disconnected:
logger.debug('calling finish')
self.request.finish()
self.request = None

0 comments on commit 0659a97

Please sign in to comment.