fix: resolve critical sync feedback loop and notification argument order

This commit is contained in:
Timo
2026-04-22 13:41:05 +02:00
parent e65c326c32
commit bcb3acb78e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -165,8 +165,8 @@
setTargetState('paused');
video.pause();
video.currentTime = payload.targetTime;
pollSeekReady(payload.targetTime).then(() => {
chrome.runtime.sendMessage({ type: 'FORCE_SYNC_ACK' });
pollSeekReady(payload.targetTime).then((ready) => {
if (ready) chrome.runtime.sendMessage({ type: 'FORCE_SYNC_ACK' });
});
}
} else if (action === EVENTS.FORCE_SYNC_EXECUTE) {