mirror of https://github.com/godotengine/godot
Merge pull request #103396 from berarma/vsp_clean_exit_tree
VideoStreamPlayer: Stop video on exit tree
This commit is contained in:
commit
f3fe36289b
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue