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
|
// Releasing wake-lock and stopping ourselves
|
||||||
try {
|
try {
|
||||||
wakeLock?.let {
|
wakeLock?.let {
|
||||||
|
// Release all acquire()
|
||||||
while (it.isHeld) {
|
while (it.isHeld) {
|
||||||
it.release()
|
it.release()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue