1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00
This commit is contained in:
Cedric Beust 2016-04-25 22:10:59 -08:00
parent a6cb4c3314
commit d02def081a
5 changed files with 8 additions and 8 deletions

View file

@ -45,7 +45,7 @@ fun mainNoExit(argv: Array<String>): Int {
Kobalt.init(MainModule(args, KobaltSettings.readSettingsXml()))
val result = Kobalt.INJECTOR.getInstance(Main::class.java).run {
val runResult = run(jc, args, argv)
pluginInfo.shutdown()
pluginInfo.cleanUp()
executors.shutdown()
runResult
}
@ -221,8 +221,8 @@ private class Main @Inject constructor(
}
private fun cleanUp() {
pluginInfo.shutdown()
taskManager.shutdown()
pluginInfo.cleanUp()
taskManager.cleanUp()
}
private fun initForBuildFile(buildFile: BuildFile, args: Args): List<Project> {