mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
Merge pull request #3338 from Bnyro/master
Fix crash when unregistering downloads receiver
This commit is contained in:
commit
d05b84d0e4
@ -181,7 +181,7 @@ class DownloadsFragment : Fragment() {
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
if (serviceConnection.isBound) {
|
||||
runCatching {
|
||||
context?.unbindService(serviceConnection)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user