Fix wrong comment
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user