network stuff
This commit is contained in:
@@ -146,6 +146,7 @@ bool ServerModule::onEvent(const Archimedes::Event& event) {
|
|||||||
// and we cannot linger because it's already closed on the other end,
|
// and we cannot linger because it's already closed on the other end,
|
||||||
// so we just pass 0's.
|
// so we just pass 0's.
|
||||||
interface->CloseConnection( e.info->m_hConn, 0, nullptr, false );
|
interface->CloseConnection( e.info->m_hConn, 0, nullptr, false );
|
||||||
|
std::cerr << "Connection Closed.\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ void ChatClient::run() {
|
|||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
} else {
|
} else {
|
||||||
app->emitEvent(new Archimedes::DoUnloadModuleEvent(name));
|
app->emitEvent(new Archimedes::DoUnloadModuleEvent(*cm));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user