screencopy: fix read on incorrect monitor render

This commit is contained in:
vaxerski 2023-04-07 19:11:30 +01:00
parent c2a85c9d36
commit 50876f1b15

View file

@ -297,6 +297,9 @@ void CScreencopyProtocolManager::onRenderEnd(CMonitor* pMonitor) {
continue;
}
if (f->pMonitor != pMonitor)
continue;
shareFrame(f);
framesToRemove.push_back(f);