VideoStreamPlayer: stop video on exit tree

This commit is contained in:
Bernat Arlandis
2025-02-28 12:58:52 +01:00
parent 3ef055fecb
commit bd3a30649b

View File

@ -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;