GTK dispatch thread interrupt now called in new thread
This commit is contained in:
parent
722db8d077
commit
639ae30f45
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user