diff --git a/app/src/main/kotlin/bums/lunatic/launcher/workers/TorrentManager.kt b/app/src/main/kotlin/bums/lunatic/launcher/workers/TorrentManager.kt index f8c01d24..7e53edd3 100644 --- a/app/src/main/kotlin/bums/lunatic/launcher/workers/TorrentManager.kt +++ b/app/src/main/kotlin/bums/lunatic/launcher/workers/TorrentManager.kt @@ -157,6 +157,7 @@ class TorrentService : Service() { } catch (e: Exception) { e.printStackTrace() } + _torrentTasks.value = mutableListOf() stopForeground(true) // 💡 상단바 알림 즉시 제거 stopSelf() // 💡 서비스 스스로 종료 (메모리 해제) @@ -240,7 +241,7 @@ class TorrentService : Service() { if (tasks.isNotEmpty()) { updateNotification(tasks) } - delay(15000) + delay(1500) } } }