ycw 5 месяцев назад
Родитель
Сommit
4c58473085
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/textures/VideoTexture.js

+ 2 - 0
src/textures/VideoTexture.js

@@ -114,6 +114,8 @@ class VideoTexture extends Texture {
 
 			this.source.data.cancelVideoFrameCallback( this._requestVideoFrameCallbackId );
 
+			this._requestVideoFrameCallbackId = 0;
+
 		}
 
 		super.dispose();

粤ICP备19079148号