m5: fixed destructor to deschedule the tickEvent and event

This commit is contained in:
Brad Beckmann
2009-11-18 13:55:58 -08:00
parent 93f0069dd5
commit 4d731a522d

View File

@@ -105,6 +105,8 @@ MC146818::MC146818(EventManager *em, const string &n, const struct tm time,
MC146818::~MC146818()
{
deschedule(tickEvent);
deschedule(event);
}
void