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
refactor: make setEnvironmentAndWait truly event-driven
Instead of draining setImmediate ticks, the helper now checks whether
the environment will actually change by comparing current vs target
envId. If a change is expected, it subscribes to onDidChangeEnvironment
and awaits the event. If no change is expected (idempotent set), it
calls setEnvironment and returns immediately — no ticks, no polling.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments