Permalink
Browse files

delete with proper GC???

  • Loading branch information...
1 parent f692547 commit f2a4d0612101cba2e036f470584c0dc26bc7662c @ghtdak committed Jul 5, 2008
Showing with 3 additions and 2 deletions.
  1. +3 −2 qt4reactor.py
View
@@ -157,9 +157,10 @@ def addWriter(self, writer):
def removeReader(self, reader):
if reader in self._reads:
- self._reads[reader].shutdown()
+ #self._reads[reader].shutdown()
#del self._reads[reader]
- self._reads.pop(reader)
+ t = self._reads.pop(reader)
+ t.shutdown()
def removeWriter(self, writer):

0 comments on commit f2a4d06

Please sign in to comment.