From 9370123133bd44a9c2748315708a63ae7016c5ee Mon Sep 17 00:00:00 2001 From: Stuart Carnie Date: Wed, 17 Oct 2018 19:36:18 -0700 Subject: [PATCH] fix: Post CMD_EVENT_QUIT directly to command queue --- ui/drivers/ui_cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index 33d1852c96..f454831e90 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -466,7 +466,7 @@ static char** waiting_argv; if (rarch_ctl(RARCH_CTL_IS_INITED, NULL)) reply = NSTerminateCancel; - ui_companion_event_command(CMD_EVENT_QUIT); + command_event(CMD_EVENT_QUIT, NULL); return reply; }