..
This commit is contained in:
parent
a7df635f66
commit
a5c0bd67a8
@ -157,6 +157,7 @@ class TorrentService : Service() {
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
_torrentTasks.value = mutableListOf<TorrentTask>()
|
||||
|
||||
stopForeground(true) // 💡 상단바 알림 즉시 제거
|
||||
stopSelf() // 💡 서비스 스스로 종료 (메모리 해제)
|
||||
@ -240,7 +241,7 @@ class TorrentService : Service() {
|
||||
if (tasks.isNotEmpty()) {
|
||||
updateNotification(tasks)
|
||||
}
|
||||
delay(15000)
|
||||
delay(1500)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user