The source project of this merge request has been removed.
lock locked_shouldSend on this
The window state variables read and modified in allocateSendingBytes are also read and modified in locked_messageACKed
which lock ons this
, so this method needs to lock on this
as well.
Change has been tested in testnet without any adverse effects.
To summarize, the safe locking order is _outboundMessages
-> _outboundQueue
-> this