From 237c8a2081fd4ab88ebefe94b5ab6999c244c106 Mon Sep 17 00:00:00 2001 From: "Ilya.Usov" Date: Tue, 5 Sep 2023 16:17:36 +0200 Subject: [PATCH] do not assert binding thread for ext --- .../kotlin/com/jetbrains/rd/framework/base/RdExtBase.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rd-kt/rd-framework/src/main/kotlin/com/jetbrains/rd/framework/base/RdExtBase.kt b/rd-kt/rd-framework/src/main/kotlin/com/jetbrains/rd/framework/base/RdExtBase.kt index cd2c9b4db..79d2d995f 100644 --- a/rd-kt/rd-framework/src/main/kotlin/com/jetbrains/rd/framework/base/RdExtBase.kt +++ b/rd-kt/rd-framework/src/main/kotlin/com/jetbrains/rd/framework/base/RdExtBase.kt @@ -113,11 +113,7 @@ abstract class RdExtBase : RdReactiveBase() { }) } - override fun assertBindingThread() { - if (allowCreationOnBackgroundThread) return - - super.assertBindingThread() - } + override fun assertBindingThread() = Unit override fun onWireReceived(proto: IProtocol, buffer: AbstractBuffer, ctx: SerializationCtx, dispatchHelper: IRdWireableDispatchHelper) { val remoteState = buffer.readEnum()