Make sure that files are flushed before exit

This commit is contained in:
Deve
2018-11-22 22:34:10 +01:00
parent cdb3d2cae5
commit 8f90b5f9ab

View File

@@ -105,6 +105,7 @@ void android_main(struct android_app* app)
// its state is remembered when the window is restored. We will use exit
// call to make sure that all variables are cleared until a proper fix will
// be done.
fflush(NULL);
_exit(0);
}