You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user performs a full reset or imports settings in parallel mode, the per-view state is not invalidated across all running webview instances. This causes:
Stale mode and currentApiConfigName persist in view-local state after reset
Settings import does not broadcast invalidation to parallel tabs
Parallel tabs continue operating with outdated configuration selections
Solution
Hook into the existing broadcast mechanisms to clear per-view state:
Reset: broadcastResetToAllInstances now clears both in-memory and durable view state for all instances
Settings import: Added broadcast hook + try/catch wrapper around reset broadcast after settings import completes
Each instance receives the invalidation signal and reloads its merged state from global defaults
Scope
broadcastResetToAllInstances: clear local + durable view state on reset
Settings import: wrap reset broadcast in try/catch, ensure all parallel tabs receive invalidation
Problem
When a user performs a full reset or imports settings in parallel mode, the per-view state is not invalidated across all running webview instances. This causes:
modeandcurrentApiConfigNamepersist in view-local state after resetSolution
Hook into the existing broadcast mechanisms to clear per-view state:
broadcastResetToAllInstancesnow clears both in-memory and durable view state for all instancesScope
broadcastResetToAllInstances: clear local + durable view state on resetTests
Related