Explorar o código

Don't block on flushing the log output to disk

Vishnu Mohandas %!s(int64=4) %!d(string=hai) anos
pai
achega
51b08a242f
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      lib/core/network.dart

+ 0 - 1
lib/core/network.dart

@@ -20,7 +20,6 @@ class Network {
           SuperLogging.logFile.writeAsString(
           SuperLogging.logFile.writeAsString(
             object.toString() + "\n",
             object.toString() + "\n",
             encoding: Utf8Codec(allowMalformed: true),
             encoding: Utf8Codec(allowMalformed: true),
-            flush: true,
             mode: FileMode.append,
             mode: FileMode.append,
           );
           );
         }));
         }));