Fixed another BroadcastReceiver leak.

This commit is contained in:
Felix Ableitner 2013-12-13 01:08:17 +01:00
parent 5694d45660
commit 90cec806ae

View file

@ -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);
} }
/** /**