Fix wrong comment

This commit is contained in:
tarsin authored and GitHub committed 2023-02-08 23:16:29 +08:00
1 parent 461ad7fa42
commit 281469fe5c
1 file changed
+1 -1
@@ -39,7 +39,7 @@ class SpiderQueenWorker(private val queen: SpiderQueen) : CoroutineScope {
private val size
get() = queen.size()
override val coroutineContext: CoroutineContext
get() = Dispatchers.IO + Job() // No SupervisorJob here since uncaught exception would cause semaphore leak
get() = Dispatchers.IO + Job()
fun cancel(index: Int) {
if (isDownloadMode) return