mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 02:53:05 +00:00
Fix a null pointer exception reported by a user
This commit is contained in:
parent
edb286f9af
commit
1cac7660b8
@ -233,8 +233,10 @@ public class ComputerManagerService extends Service {
|
||||
|
||||
@Override
|
||||
public boolean onUnbind(Intent intent) {
|
||||
// Stop mDNS autodiscovery
|
||||
discoveryBinder.stopDiscovery();
|
||||
if (discoveryBinder != null) {
|
||||
// Stop mDNS autodiscovery
|
||||
discoveryBinder.stopDiscovery();
|
||||
}
|
||||
|
||||
// Stop polling
|
||||
pollingActive = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user