On Sep 19, 2011, at 3:40 PM, Fabian Rothfuchs wrote: > That’s a tremendous advice! > Indeed I was directly calling connectTCP() - I changed it to do like > > reactor.callFromThread(reactor.connectTCP, host, port, factory, timeout=5) > > Thanks!
No problem! I'm glad I caught this before it caused you serious trouble. Tell your friends: threads are bad! callFromThread is your best and only defense against the Dark Arts! :) -glyph
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python