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() {
|
override fun stop() {
|
||||||
|
if (session == null) return
|
||||||
|
|
||||||
try {
|
try {
|
||||||
session?.stop()
|
session?.stop()
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user