WindowModule should unload when no window exists during run
This commit is contained in:
@@ -125,7 +125,7 @@ bool ClientModule::onEvent(const Archimedes::Event& event) {
|
||||
|
||||
void ClientModule::pollIncomingData() {
|
||||
|
||||
while(running) {
|
||||
while(running && connection != k_HSteamNetConnection_Invalid) {
|
||||
ISteamNetworkingMessage *pIncomingMsg = nullptr;
|
||||
int numMsgs = interface->ReceiveMessagesOnConnection( connection, &pIncomingMsg, 1 );
|
||||
if ( numMsgs == 0 )
|
||||
|
||||
Reference in New Issue
Block a user