VideoStreamPlayer: stop video on exit tree
(cherry picked from commit bd3a30649b)
This commit is contained in:
committed by
Rémi Verschelde
parent
8152c2bc5b
commit
15413e55be
@ -136,6 +136,7 @@ void VideoStreamPlayer::_notification(int p_notification) {
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
stop();
|
||||
AudioServer::get_singleton()->remove_mix_callback(_mix_audios, this);
|
||||
} break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user