mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix save cancelled because project disposed - delay to ensure that project saving have time to be started
GitOrigin-RevId: 73c4d97463068e225c06ad7920792989de818dac
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4363fe9d59
commit
8bf15d812a
@@ -18,6 +18,7 @@ import com.intellij.testFramework.assertions.Assertions.assertThat
|
||||
import com.intellij.util.PathUtil
|
||||
import com.intellij.util.io.readText
|
||||
import com.intellij.util.io.write
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import kotlinx.coroutines.withTimeout
|
||||
@@ -228,6 +229,8 @@ internal class ProjectStoreTest {
|
||||
launch {
|
||||
project.stateStore.save()
|
||||
}
|
||||
|
||||
delay(50)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user