surfacemgr: also remove monitor from scheduled frames

remove monitor from scheduled frames on destroy.
This commit is contained in:
Tom Englund 2025-11-23 18:35:31 +01:00
parent 51fe76aa14
commit b1c6b0d4b8

View file

@ -123,4 +123,5 @@ void CSurfaceManager::sendScheduledFrames(PHLMONITORREF monitor, const Time::ste
void CSurfaceManager::destroy(PHLMONITORREF monitor) {
m_buffers.erase(monitor);
m_scheduledForFrame.erase(monitor);
}