From 3a445edda924add8cd7e22ffa1a20d198ae0e7e3 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Tue, 8 Oct 2019 10:05:48 -0700 Subject: [PATCH] Made _printDebug only happen on debug builds of the engine for now. (#12980) --- lib/ui/dart_runtime_hooks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/dart_runtime_hooks.cc b/lib/ui/dart_runtime_hooks.cc index 000c4c4372..662d2d6311 100644 --- a/lib/ui/dart_runtime_hooks.cc +++ b/lib/ui/dart_runtime_hooks.cc @@ -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 } -- GitLab