diff options
-rw-r--r-- | runtime/signal_catcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/signal_catcher.cc b/runtime/signal_catcher.cc index 8c934d52a2..f0b6ee4a58 100644 --- a/runtime/signal_catcher.cc +++ b/runtime/signal_catcher.cc @@ -168,7 +168,7 @@ void SignalCatcher::Output(const std::string& s) { } #if defined(ART_TARGET_ANDROID) - if (!tombstoned_notify_completion(tombstone_fd)) { + if (use_tombstoned_stack_trace_fd_ && !tombstoned_notify_completion(tombstone_fd)) { LOG(WARNING) << "Unable to notify tombstoned of dump completion."; } #endif |