Ticket #5117 defect new
Opened 2 years ago
Calling transport.unregisterProducer when no producer is registered silently fails
|Reported by:||itamar||Owned by:|
If there is no producer registered on a transport, calling unregisterProducer does not fail, but rather it does nothing (or perhaps calls startWriting(), depending on the implementation). Relevant implementations include twisted.internet.abstract, twisted.internet.iocpreactor.abstract and twisted.protocols.tls, maybe others as well.