mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 13:22:52 +02:00
Client
- Fixed a possible bug whereby the `Receiver` and `Sender` may exit on start as they get to their `client.running` read before the main thread gets to setting `running = true`
This commit is contained in:
parent
40e7a3b2b9
commit
1bdc68774f
@ -586,14 +586,14 @@ public class Client : Thread
|
||||
// * libsnooze exists)
|
||||
// */
|
||||
|
||||
/* Set the running status to true */
|
||||
running = true;
|
||||
|
||||
/* Start the receive queue and send queue managers */
|
||||
this.receiver.start();
|
||||
this.sender.start();
|
||||
// while(!receiver.isReady() || !sender.isReady()) {}
|
||||
|
||||
/* Set the running status to true */
|
||||
running = true;
|
||||
|
||||
/* Start the socket read-decode loop */
|
||||
this.start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user