Do not call onFinish for executor that wasn't started
This commit is contained in:
@@ -45,6 +45,8 @@ class KtCompilingExecutor(file: ScratchFile) : ScratchExecutor(file) {
|
||||
}
|
||||
|
||||
override fun stop() {
|
||||
if (session == null) return
|
||||
|
||||
try {
|
||||
session?.stop()
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user