Skip to content

Commit

Permalink
Made _printDebug only happen on debug builds of the engine for now. (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke authored Oct 8, 2019
1 parent 2e6deee commit 3a445ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/dart_runtime_hooks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3a445ed

Please sign in to comment.