cpu: clear listeners list

Change-Id: Ie9d664df1b29a0ba62174046a7ab1fda6753bef4
This commit is contained in:
studyztp
2024-08-18 10:52:01 -07:00
committed by Bobby R. Bruce
parent 0b0a8431dc
commit 627734e830

View File

@@ -74,6 +74,7 @@ LocalInstTracker::stopListening()
DPRINTF(InstTracker, "Deleted Listener pointer\n");
}
}
listeners.clear();
DPRINTF(InstTracker, "Stop listening to RetiredInsts\n");
}