Do not call onFinish for executor that wasn't started

This commit is contained in:
Natalia Selezneva
2019-07-18 15:19:22 +03:00
parent 2fa7ef2482
commit b9968ee1af
@@ -45,6 +45,8 @@ class KtCompilingExecutor(file: ScratchFile) : ScratchExecutor(file) {
}
override fun stop() {
if (session == null) return
try {
session?.stop()
} finally {