mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Feature/globals handling (#1352)
* Cleaner handling of global state * Prevent Lua memory corruption (closes #982) * Initialize glfw first thing to prevent weird joystick loading bug during startup
This commit is contained in:
@@ -231,7 +231,7 @@ void WebGuiModule::startProcess() {
|
||||
|
||||
_endpoints.clear();
|
||||
|
||||
ServerModule* serverModule = global::moduleEngine.module<ServerModule>();
|
||||
ServerModule* serverModule = global::moduleEngine->module<ServerModule>();
|
||||
const ServerInterface* serverInterface =
|
||||
serverModule->serverInterfaceByIdentifier(_webSocketInterface);
|
||||
if (!serverInterface) {
|
||||
|
||||
Reference in New Issue
Block a user