fix:dPrint

This commit is contained in:
xkeyC 2024-03-23 17:54:32 +08:00
parent 5e67211685
commit 010a184921

View File

@ -14,7 +14,7 @@ void dPrint(src) async {
}
await _logLock.synchronized(() async {
try {
_logFile?.writeAsString("$src\n", mode: FileMode.append);
await _logFile?.writeAsString("$src\n", mode: FileMode.append);
} catch (_) {}
});
}