diff --git a/src/com/github/nutomic/controldlna/upnp/RemotePlayService.java b/src/com/github/nutomic/controldlna/upnp/RemotePlayService.java index f7e4d41..a6d959a 100644 --- a/src/com/github/nutomic/controldlna/upnp/RemotePlayService.java +++ b/src/com/github/nutomic/controldlna/upnp/RemotePlayService.java @@ -429,7 +429,8 @@ public class RemotePlayService extends Service implements RegistryListener { @Override public void onDestroy() { super.onDestroy(); - unbindService(mUpnpServiceConnection); + unbindService(mUpnpServiceConnection); + unregisterReceiver(mWifiReceiver); } /**