diff options
| author | 2017-07-12 08:30:09 +0000 | |
|---|---|---|
| committer | 2017-07-12 08:30:09 +0000 | |
| commit | a97772fe0b2b5193bff62da6893b195ef183c2bc (patch) | |
| tree | dcbe2c7d6f7f9a03376cbf251c7ff3723bb778a6 | |
| parent | 8aea017919a7ee19b7aed05465d0ab948d03442d (diff) | |
| parent | 2cfd612d472b6099cfb39e96f468c8fb0d44bf4f (diff) | |
Merge "signal_catcher: Only notify tombstoned when we're using it."
| -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 |