diff options
author | peking_ling <lingbjsz@gmail.com> | 2023-02-24 04:53:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 21:53:56 +0100 |
commit | 240737e3acee6d6c56ce8ca782b99f54205a4ea9 (patch) | |
tree | db9dd039a1fc2fcc72670b99728f93b5784e684d /core/src/main | |
parent | 9fed944392ee31f00ef91a01a2c34dddc876a86a (diff) | |
download | AntennaPod-240737e3acee6d6c56ce8ca782b99f54205a4ea9.zip |
Fix memory leaks (#6335)
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 7e0377c88..344421cd8 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -311,6 +311,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { unregisterReceiver(audioBecomingNoisy); mediaPlayer.shutdown(); taskManager.shutdown(); + EventBus.getDefault().unregister(this); } @Override |