network stuff

This commit is contained in:
2025-05-03 15:27:44 -05:00
parent 83b98db914
commit ff2a3337b4
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
} }

View File

@@ -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));
} }
} }