diff options
Diffstat (limited to 'src/libutil/logging.cc')
-rw-r--r-- | src/libutil/logging.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc index 27a631a37d10..c1cff5cf9061 100644 --- a/src/libutil/logging.cc +++ b/src/libutil/logging.cc @@ -221,4 +221,12 @@ bool handleJSONLogMessage(const std::string & msg, return true; } +Activity::~Activity() { + try { + logger.stopActivity(id); + } catch (...) { + ignoreException(); + } +} + } |