diff --git a/SakuraCore/src/Application.cpp b/SakuraCore/src/Application.cpp index 86e4dc4..ab6f35b 100644 --- a/SakuraCore/src/Application.cpp +++ b/SakuraCore/src/Application.cpp @@ -135,6 +135,9 @@ void Application::Run() { } } + if (!m_isRunning) { + break; + } // Rendering for (auto &layer : m_LayerStack) {