We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ec22c commit 097754cCopy full SHA for 097754c
src/gui/mainWindow/mainWindow.cpp
@@ -107,9 +107,9 @@ MainWindow::MainWindow(Environment& environment) :
107
}
108
109
MainWindow::~MainWindow() {
110
- if (sdlWindow) App::get().deregisterWindow(*sdlWindow);
111
if (rmlContext) Rml::RemoveContext(rmlContext->GetName());
112
if (windowId != 0) MainRenderer::get().deregisterWindow(windowId);
+ if (sdlWindow) App::get().deregisterWindow(*sdlWindow);
113
114
115
bool MainWindow::recieveEvent(SDL_Event& event) {
0 commit comments