From 81e9d8cced7160e3c1c8bda03001bd1ec4f1c55e Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Sun, 28 Jan 2024 22:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=E6=B8=85?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../love/forte/simbot/qguild/stdlib/EventProcessor.jvm.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/simbot-component-qq-guild-stdlib/src/jvmMain/kotlin/love/forte/simbot/qguild/stdlib/EventProcessor.jvm.kt b/simbot-component-qq-guild-stdlib/src/jvmMain/kotlin/love/forte/simbot/qguild/stdlib/EventProcessor.jvm.kt index eb3fa937..fa07e056 100644 --- a/simbot-component-qq-guild-stdlib/src/jvmMain/kotlin/love/forte/simbot/qguild/stdlib/EventProcessor.jvm.kt +++ b/simbot-component-qq-guild-stdlib/src/jvmMain/kotlin/love/forte/simbot/qguild/stdlib/EventProcessor.jvm.kt @@ -25,7 +25,6 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.future.await import kotlinx.coroutines.runInterruptible import love.forte.simbot.qguild.event.Signal -import love.forte.simbot.suspendrunner.runInBlocking import org.jetbrains.annotations.Blocking import org.jetbrains.annotations.NonBlocking import java.util.concurrent.CompletableFuture @@ -47,8 +46,6 @@ public fun interface JBlockEventProcessor : EventProcessor { @JvmSynthetic override suspend fun Signal.Dispatch.invoke(raw: String) { - runInBlocking { } - runInterruptible(Dispatchers.IO) { block(this, raw) } } }