[Twisted-Python] SerialPort.loseConnection() BUG

biziap biziap fetbiz at gmail.com
Thu Jun 11 04:11:42 EDT 2009

>>Maybe you can try to call transport.flushInput(), transport.flushOutput()
>>before loseConnection().
> No, this is wrong.  Do not call these methods, ever.

I have experienced the same problem,
by calling the flashOutput, flashInput solved that problem in my case.
Maybe it is a workaround. I'd like to know how to do with it is the right way?
Thanks in advance.

Sorry about the top-post, hope that this time I am doing it right.

More information about the Twisted-Python mailing list