Explorar o código

Merge pull request #103396 from berarma/vsp_clean_exit_tree

VideoStreamPlayer: Stop video on exit tree
Rémi Verschelde hai 6 meses
pai
achega
f3fe36289b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      scene/gui/video_stream_player.cpp

+ 1 - 0
scene/gui/video_stream_player.cpp

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