mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Fix database reference leak
This commit is contained in:
parent
1148e0163c
commit
b5ba59b413
@ -81,6 +81,7 @@ public class ComputerManagerService extends Service {
|
|||||||
if (!pollComputer(details)) {
|
if (!pollComputer(details)) {
|
||||||
if (!newPc && offlineCount < OFFLINE_POLL_TRIES) {
|
if (!newPc && offlineCount < OFFLINE_POLL_TRIES) {
|
||||||
// Return without calling the listener
|
// Return without calling the listener
|
||||||
|
releaseLocalDatabaseReference();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user