From e00573aa951dce835a42d9f8a6107e502c55628f 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. (flutter/engine#12980) --- engine/src/flutter/lib/ui/dart_runtime_hooks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/lib/ui/dart_runtime_hooks.cc b/engine/src/flutter/lib/ui/dart_runtime_hooks.cc index 000c4c4372..662d2d6311 100644 --- a/engine/src/flutter/lib/ui/dart_runtime_hooks.cc +++ b/engine/src/flutter/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 }