Commit a00dfdfc authored by Andy Ying's avatar Andy Ying

NULL sinks_ after deletion to prevent dangling pointer

parent 0472b91c
......@@ -825,6 +825,7 @@ void LogDestination::DeleteLogDestinations() {
}
MutexLock l(&sink_mutex_);
delete sinks_;
sinks_ = NULL;
}
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