From 70d4c51c982dc101fc2e5c3e8a21d495d086ae11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Mon, 25 Sep 2023 23:45:35 -0300 Subject: [PATCH] Fix app close on macOS. --- src/tools/ecode/ecode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/ecode/ecode.cpp b/src/tools/ecode/ecode.cpp index cbb6ec99d..34cb66891 100644 --- a/src/tools/ecode/ecode.cpp +++ b/src/tools/ecode/ecode.cpp @@ -3322,7 +3322,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe mWindow->setQuitCallback( [this]( EE::Window::Window* win ) { if ( mWindow->isOpen() ) - onCloseRequestCallback( win ); + closeApp(); } ); mWindow->getInput()->pushCallback( [this]( InputEvent* event ) {