Made _printDebug only happen on debug builds of the engine for now. (flutter/engine#12980)

This commit is contained in:
gaaclarke
2019-10-08 10:05:48 -07:00
committed by GitHub
parent 00ae651c92
commit e00573aa95

View File

@@ -154,7 +154,7 @@ void DartRuntimeHooks::Install(bool is_ui_isolate,
}
void Logger_PrintDebugString(Dart_NativeArguments args) {
#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
#ifndef NDEBUG
Logger_PrintString(args);
#endif
}