1
0
Fork 0

Merge pull request #103396 from berarma/vsp_clean_exit_tree

VideoStreamPlayer: Stop video on exit tree
This commit is contained in:
Rémi Verschelde 2025-03-04 01:00:59 +01:00
commit f3fe36289b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

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;