Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentWillUnMount() {
Pubsub.unSubscribe('CHOOSE_MUSIC');
Pubsub.unSubscribe('DELETE_MUSIC');
$('#player').unbind($.jPlayer.event.ended);
Pubsub.unSubscribe('PREV_MUSIC');
Pubsub.unSubscribe('NEXT_MUSIC');
Pubsub.unSubscribe('CHANGE_CYCLE_MODEL');
}
componentWillUnMount() {
Pubsub.unSubscribe('CHOOSE_MUSIC');
Pubsub.unSubscribe('DELETE_MUSIC');
$('#player').unbind($.jPlayer.event.ended);
Pubsub.unSubscribe('PREV_MUSIC');
Pubsub.unSubscribe('NEXT_MUSIC');
Pubsub.unSubscribe('CHANGE_CYCLE_MODEL');
}
componentWillUnMount() {
Pubsub.unSubscribe('CHOOSE_MUSIC');
Pubsub.unSubscribe('DELETE_MUSIC');
$('#player').unbind($.jPlayer.event.ended);
Pubsub.unSubscribe('PREV_MUSIC');
Pubsub.unSubscribe('NEXT_MUSIC');
Pubsub.unSubscribe('CHANGE_CYCLE_MODEL');
}
componentWillUnMount() {
Pubsub.unSubscribe('CHOOSE_MUSIC');
Pubsub.unSubscribe('DELETE_MUSIC');
$('#player').unbind($.jPlayer.event.ended);
Pubsub.unSubscribe('PREV_MUSIC');
Pubsub.unSubscribe('NEXT_MUSIC');
Pubsub.unSubscribe('CHANGE_CYCLE_MODEL');
}
componentWillUnMount() {
Pubsub.unSubscribe('CHOOSE_MUSIC');
Pubsub.unSubscribe('DELETE_MUSIC');
$('#player').unbind($.jPlayer.event.ended);
Pubsub.unSubscribe('PREV_MUSIC');
Pubsub.unSubscribe('NEXT_MUSIC');
Pubsub.unSubscribe('CHANGE_CYCLE_MODEL');
}