1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

Shut down actors.

This commit is contained in:
Cedric Beust 2016-04-23 05:15:07 -08:00
parent 234172a1a7
commit 4a43d17288
4 changed files with 28 additions and 1 deletions

View file

@ -45,6 +45,7 @@ fun mainNoExit(argv: Array<String>): Int {
Kobalt.INJECTOR = Guice.createInjector(MainModule(args, KobaltSettings.readSettingsXml()))
val result = Kobalt.INJECTOR.getInstance(Main::class.java).run {
val runResult = run(jc, args, argv)
pluginInfo.shutdown()
executors.shutdown()
runResult
}