Fix cleanup of NetEvWait class.
The destructor needs to delete the stored NetEvent objects. Failure to do this was causing a compiler crash after synthesis if the nodangle functor was disabled.
This commit is contained in:
parent
5286fb858d
commit
3fc0204b99
|
|
@ -369,6 +369,7 @@ NetEvWait::~NetEvWait()
|
||||||
tmp->next = tmp->next->next;
|
tmp->next = tmp->next->next;
|
||||||
delete tmp;
|
delete tmp;
|
||||||
}
|
}
|
||||||
|
delete tgt;
|
||||||
}
|
}
|
||||||
events_.clear();
|
events_.clear();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue