Fixed another BroadcastReceiver leak.
This commit is contained in:
parent
5694d45660
commit
90cec806ae
1 changed files with 2 additions and 1 deletions
|
@ -429,7 +429,8 @@ public class RemotePlayService extends Service implements RegistryListener {
|
||||||
@Override
|
@Override
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
unbindService(mUpnpServiceConnection);
|
unbindService(mUpnpServiceConnection);
|
||||||
|
unregisterReceiver(mWifiReceiver);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Reference in a new issue