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:
Martin Whitaker 2016-02-21 21:22:35 +00:00
parent 5286fb858d
commit 3fc0204b99
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@ NetEvWait::~NetEvWait()
tmp->next = tmp->next->next;
delete tmp;
}
delete tgt;
}
events_.clear();
}