summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-25 15:07:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-25 15:07:13 +0300
commita9bad635bc89092b4c866a90018c803cd25592c0 (patch)
treefb163ac1a1d480eaa51bdb6ad8873ac85c00c2c4
parent8764d8fed61e7f0148ede9a6a836b402145578aa (diff)
downloadplus-a9bad635bc89092b4c866a90018c803cd25592c0.tar.gz
plus-a9bad635bc89092b4c866a90018c803cd25592c0.tar.bz2
plus-a9bad635bc89092b4c866a90018c803cd25592c0.tar.xz
plus-a9bad635bc89092b4c866a90018c803cd25592c0.zip
Improve logging speed.
-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