From 6980d830f93809a7a2feb74f99d7847272a10801 Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Tue, 16 Jul 2024 07:52:59 +0300 Subject: [PATCH] fix long poll --- .../main/kotlin/dev/meloda/fast/common/LongPollController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/common/src/main/kotlin/dev/meloda/fast/common/LongPollController.kt b/core/common/src/main/kotlin/dev/meloda/fast/common/LongPollController.kt index bca70625..343296fb 100644 --- a/core/common/src/main/kotlin/dev/meloda/fast/common/LongPollController.kt +++ b/core/common/src/main/kotlin/dev/meloda/fast/common/LongPollController.kt @@ -22,6 +22,6 @@ class LongPollControllerImpl : LongPollController { } override fun setStateToApply(newState: LongPollState) { - currentState.value = newState + stateToApply.value = newState } }