summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 49de8a2ac8..32ae04cca9 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -9,11 +9,11 @@
MapView *mapView = nullptr;
-void quit_handler(int s) {
+void quit_handler(int) {
if (mapView) {
fprintf(stderr, "waiting for quit...\n");
glfwSetWindowShouldClose(mapView->window, true);
- llmr::platform::restart();
+ glfwPostEmptyEvent();
} else {
exit(0);
}