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