Fix tray crash on close

pull/169/head
Peter Repukat 2 years ago
parent 8bc4fc36ab
commit f77e0c4a66

@ -111,7 +111,6 @@ Application will not function!");
tray.addEntry(Tray::Button{ tray.addEntry(Tray::Button{
"Quit", [this, &tray]() { "Quit", [this, &tray]() {
tray.exit();
run_ = false; run_ = false;
}}); }});
@ -129,6 +128,7 @@ Application will not function!");
launcher_.update(); launcher_.update();
} }
} }
tray.exit();
#ifdef _WIN32 #ifdef _WIN32
input_redirector_.stop(); input_redirector_.stop();

Loading…
Cancel
Save