Skip to content

Commit

Permalink
Exit the main loop
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev committed Nov 10, 2021
1 parent cac7cab commit 5c324c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/engine/src/engine_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ int engine_main(int argc, char *argv[])
{
glfwAndroidPollEvents();
dmTime::Sleep(0);
if (g_AndroidApp->destroyRequested) {
break;
}
}
dmThread::Join(t);

Expand Down

0 comments on commit 5c324c8

Please sign in to comment.