Added net ordered list test, and fixed ordering issues with list
This commit is contained in:
parent
8611a2e6bb
commit
6e13c5742e
5 changed files with 137 additions and 17 deletions
|
|
@ -49,9 +49,12 @@ void NetClient::update() {
|
|||
isDisconnected = true;
|
||||
return;
|
||||
}
|
||||
#ifdef NDEBUG
|
||||
try {
|
||||
#endif
|
||||
parse_received_messages();
|
||||
send_queued_messages();
|
||||
#ifdef NDEBUG
|
||||
}
|
||||
catch(const std::exception& e) {
|
||||
Logger::get().log("INFO", "[NetClient::update] Exception thrown while parsing and sending messages: " + std::string(e.what()));
|
||||
|
|
@ -61,6 +64,7 @@ void NetClient::update() {
|
|||
Logger::get().log("INFO", "[NetClient::update] Unknown exception thrown while parsing and sending messages.");
|
||||
isDisconnected = true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void NetClient::parse_received_messages() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue