Project: Eclipse_Platform_UI
Bug 217777 [Workbench] Workbench event loop does not terminate if Display is closed
Reported: 2008-02-04 18:50:44 | Status: verified fixed

In the dispose() method of my application, I incorrectly closed the current Display. This caused the Workbench event loop to keep going forever, as it would keep getting an exception and then continue because the runEventLoop field was never turned off. This is different from how 3.3.1 used to work. Attached is a patch to fix the problem which has been tested to properly show the exception and terminate.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java