From ae0bce94425f5cec5348cbe54ee26e79df1bd936 Mon Sep 17 00:00:00 2001 From: Sean Maas Date: Tue, 23 Apr 2019 17:35:42 -0400 Subject: [PATCH] switch: stop threads on exit --- src/switch/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch/main.cpp b/src/switch/main.cpp index a60526fb78..5ebdb25672 100644 --- a/src/switch/main.cpp +++ b/src/switch/main.cpp @@ -802,6 +802,7 @@ int main(int argc, char **argv) refreshDisplay(); } + hotkeyMask |= BIT(2); pauseCore(); deinitRenderer(); return 0;