Closed lformella closed 9 years ago
Thank you for your contribution!
This has created a merge conflict in the new transport code and I'll revert it in the next commit to that branch. However, the bug fix is semantically correct so I'll re-write it. This will however change the nature of Listen() such that it returns on a disconnect. As a consequence, Reconnect() will no longer work as expected, for example in test.cs, the application will exit before Reconnect() in ReadCommands() has a chance to complete.
Disregard. I have fixed both issues in the next commit on transport.
fix: Listen() should return when calling Disconnect() instead of being b.locked with ReadLine() waiting for WaitOne()