From cc26d8d6036f53b8e86e282a521e9a188c99cab1 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Wed, 9 Nov 2022 11:13:21 +0300 Subject: [PATCH] Break --- .../app/src/main/java/chat/simplex/app/model/SimpleXAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/app/src/main/java/chat/simplex/app/model/SimpleXAPI.kt b/apps/android/app/src/main/java/chat/simplex/app/model/SimpleXAPI.kt index 5271a65267..a10a78b129 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/model/SimpleXAPI.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/model/SimpleXAPI.kt @@ -270,7 +270,7 @@ open class ChatController(var ctrl: ChatCtrl?, val ntfManager: NtfManager, val a val ctrl = ctrl if (ctrl == null) { receiverStarted = false - return@launch + break } val msg = recvMsg(ctrl) if (msg != null) processReceivedMsg(msg)