core: Make Watchdog safe to delete
This commit is contained in:
@@ -42,6 +42,7 @@ Watchdog::Watchdog ()
|
||||
Watchdog::~Watchdog ()
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
m_event.Cancel ();
|
||||
delete m_impl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user