do not shutdown core on awt thread
This commit is contained in:
@@ -20,7 +20,9 @@ class Shutdown extends AbstractLifecycleHandler {
|
|||||||
void execute() {
|
void execute() {
|
||||||
log.info("shutting down")
|
log.info("shutting down")
|
||||||
Core core = application.context.get("core")
|
Core core = application.context.get("core")
|
||||||
if (core != null)
|
if (core != null) {
|
||||||
core.shutdown()
|
Thread t = new Thread({ core.shutdown() } as Runnable)
|
||||||
|
t.start()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user