NULL sinks_ after deletion to prevent dangling pointer
This commit is contained in:
parent
0472b91c5d
commit
a00dfdfc53
@ -825,6 +825,7 @@ void LogDestination::DeleteLogDestinations() {
|
||||
}
|
||||
MutexLock l(&sink_mutex_);
|
||||
delete sinks_;
|
||||
sinks_ = NULL;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user