Clean all pending rewind event functions when exit

This commit is contained in:
Benau 2018-08-03 01:26:42 +08:00
parent 9a8d5fc667
commit 0a95900283

View File

@ -66,6 +66,9 @@ RewindManager::RewindManager()
*/
RewindManager::~RewindManager()
{
for (RewindInfoEventFunction* rief : m_pending_rief)
delete rief;
m_pending_rief.clear();
} // ~RewindManager
// ----------------------------------------------------------------------------