m5: fixed destructor to deschedule the tickEvent and event
This commit is contained in:
@@ -105,6 +105,8 @@ MC146818::MC146818(EventManager *em, const string &n, const struct tm time,
|
||||
|
||||
MC146818::~MC146818()
|
||||
{
|
||||
deschedule(tickEvent);
|
||||
deschedule(event);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user