Introduce killing a zombie RWT UI session
[lgpl/argeo-commons.git] / swt / rcp / org.argeo.swt.specific.rcp / src / org / argeo / eclipse / ui / specific / UiContext.java
index 67b0e755cf1abda00a4447b5d996294018cdc3a5..a85d8914dd89bd04bd26ea4b50fcd9c9c207ac75 100644 (file)
@@ -44,6 +44,10 @@ public class UiContext {
                display.setData(key, value);
        }
 
+       public static void killDisplay(Display display) {
+               display.dispose();
+       }
+
        private static Display getDisplay() {
                return Display.getCurrent();
        }