未验证 提交 3a445edd 编写于 作者: G gaaclarke 提交者: GitHub

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

上级 2e6deee9
...@@ -154,7 +154,7 @@ void DartRuntimeHooks::Install(bool is_ui_isolate, ...@@ -154,7 +154,7 @@ void DartRuntimeHooks::Install(bool is_ui_isolate,
} }
void Logger_PrintDebugString(Dart_NativeArguments args) { void Logger_PrintDebugString(Dart_NativeArguments args) {
#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG #ifndef NDEBUG
Logger_PrintString(args); Logger_PrintString(args);
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册