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
Fix race condition in RCPTestWorkbenchAdvisor by removing premature event processing
The previous fix added a CountDownLatch to wait for operations with DisplayAccess,
but also included a display.readAndDispatch() loop that processed ALL pending events
in postStartup(). This caused deferred operations (without DisplayAccess) to execute
before startup completed, violating the contract that such operations should be
deferred until after startup.
This change removes the display.readAndDispatch() loop while keeping the latch-based
synchronization for operations with DisplayAccess. The test expects:
- Operations WITH DisplayAccess → run during startup
- Operations WITHOUT DisplayAccess → deferred until after startup
- Direct asyncExec from UI thread → deferred until after startup
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments