commit | bf766fac4f828c81556499d7c16d53cc871d8bd2 | [log] [tgz] |
---|---|---|
author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | Wed Oct 19 16:10:39 2016 +0900 |
committer | GitHub <noreply@github.com> | Wed Oct 19 16:10:39 2016 +0900 |
tree | ee05970addbf1a841663feeeda7ee2a883801383 | |
parent | ff5fa62a5f651aaee4b58ef96af4370cf888cfbc [diff] | |
parent | a00dfdfc5343cf6f0be282624166405f1da47a75 [diff] |
Merge pull request #123 from yying/master Set sinks_ to NULL after deletion in LogDestination::DeleteLogDestinations
diff --git a/src/logging.cc b/src/logging.cc index ec9eef1..0b5e6ee 100644 --- a/src/logging.cc +++ b/src/logging.cc
@@ -825,6 +825,7 @@ } MutexLock l(&sink_mutex_); delete sinks_; + sinks_ = NULL; } namespace {