mirror of
https://github.com/binwiederhier/ntfy-android.git
synced 2024-09-28 23:51:10 +12:00
Add comment
This commit is contained in:
parent
50454a729f
commit
689bf5868f
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ class SubscriberService : Service() {
|
|||
// Releasing wake-lock and stopping ourselves
|
||||
try {
|
||||
wakeLock?.let {
|
||||
// Release all acquire()
|
||||
while (it.isHeld) {
|
||||
it.release()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue