Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 333577
Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java (+6 lines)
Lines 839-844 Link Here
839
		if (!super.canHandleShellCloseEvent()) {
839
		if (!super.canHandleShellCloseEvent()) {
840
			return false;
840
			return false;
841
		}
841
		}
842
843
		// Ensure that any pending 'Close' event are flushed
844
		// before opening any dialogs
845
		while (Display.getCurrent().readAndDispatch())
846
			;
847
842
		// let the advisor or other interested parties
848
		// let the advisor or other interested parties
843
		// veto the user's explicit request to close the window
849
		// veto the user's explicit request to close the window
844
		return fireWindowShellClosing();
850
		return fireWindowShellClosing();

Return to bug 333577