mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 13:31:55 +00:00
Fix a null pointer exception reported by a user
This commit is contained in:
1 parent
edb286f9af
commit
1cac7660b8
1 file changed
+4
-2
@@ -233,8 +233,10 @@ public class ComputerManagerService extends Service {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onUnbind(Intent intent) {
|
public boolean onUnbind(Intent intent) {
|
||||||
// Stop mDNS autodiscovery
|
if (discoveryBinder != null) {
|
||||||
discoveryBinder.stopDiscovery();
|
// Stop mDNS autodiscovery
|
||||||
|
discoveryBinder.stopDiscovery();
|
||||||
|
}
|
||||||
|
|
||||||
// Stop polling
|
// Stop polling
|
||||||
pollingActive = false;
|
pollingActive = false;
|
||||||
|
|||||||
Reference in new issue
Block a user