소스 검색

Merge pull request #103396 from berarma/vsp_clean_exit_tree

VideoStreamPlayer: Stop video on exit tree
Rémi Verschelde 6 달 전
부모
커밋
f3fe36289b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;