1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 00:20:32 +00:00

Merge pull request #5464 from Stypox/fix-channel-subscribe-button

Fix channel subscribe button causing crash on closing
This commit is contained in:
Tobi 2021-02-03 09:24:26 +01:00 committed by GitHub
commit 40195b2d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,14 +131,9 @@ public class ChannelFragment extends BaseListInfoFragment<ChannelInfo>
if (subscribeButtonMonitor != null) {
subscribeButtonMonitor.dispose();
}
}
@Override
public void onDestroyView() {
channelBinding = null;
headerBinding = null;
playlistControlBinding = null;
super.onDestroyView();
}
/*//////////////////////////////////////////////////////////////////////////