Commit bf766fac authored by Fumitoshi Ukai's avatar Fumitoshi Ukai Committed by GitHub

Merge pull request #123 from yying/master

Set sinks_ to NULL after deletion in LogDestination::DeleteLogDestinations
parents ff5fa62a a00dfdfc
...@@ -825,6 +825,7 @@ void LogDestination::DeleteLogDestinations() { ...@@ -825,6 +825,7 @@ void LogDestination::DeleteLogDestinations() {
} }
MutexLock l(&sink_mutex_); MutexLock l(&sink_mutex_);
delete sinks_; delete sinks_;
sinks_ = NULL;
} }
namespace { namespace {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment