[Twisted-Python] SerialPort.loseConnection() BUG

Jean-Paul Calderone exarkun at divmod.com
Thu Jun 11 08:17:05 EDT 2009

On Thu, 11 Jun 2009 08:11:42 +0000, biziap biziap <fetbiz at gmail.com> wrote:
>>>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.

Do you have an example which demonstrates the problem?  There's no way to
know why you encounter the problem without knowing what your program is

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

Yes.  Thanks. :)


More information about the Twisted-Python mailing list