summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index da445aab6..81a38e231 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -304,6 +304,8 @@ int main(int argc, char *argv[])
_exit(0);
}
+ std::ios::sync_with_stdio(false);
+
#ifdef ANDROID
mkdir_r(getSdStoragePath().c_str());
#endif