GTK dispatch thread interrupt now called in new thread

This commit is contained in:
nathan 2016-02-13 19:01:56 +01:00
parent 722db8d077
commit 639ae30f45

View File

@ -199,6 +199,14 @@ class GtkSupport {
Gtk.INSTANCE.gtk_main_quit();
started = false;
gtkDispatchThread.interrupt();
new Thread(new Runnable() {
@Override
public
void run() {
// this should happen in a new thread
gtkDispatchThread.interrupt();
}
}).run();
}
}