VideoStreamPlayer: stop video on exit tree

(cherry picked from commit bd3a30649b)
This commit is contained in:
Bernat Arlandis
2025-02-28 12:58:52 +01:00
committed by Rémi Verschelde
parent 8152c2bc5b
commit 15413e55be

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;