Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
fix: fix loader stuck on closing, fix #203
Browse files Browse the repository at this point in the history
  • Loading branch information
Nambers committed Nov 2, 2023
1 parent 55b8f59 commit 57cd62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin/loader/src/main/kotlin/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object KotlinMainData {
@OptIn(ExperimentalCoroutinesApi::class)
val coroutineScope = CoroutineScope(threadPool + job)
lateinit var loginAccount: List<CPPConfig.LoaderConfig.Account>
val aliveChan: Channel<Unit> = Channel(0)
val aliveChan: Channel<Unit> = Channel(1)
}


Expand Down

0 comments on commit 57cd62a

Please sign in to comment.