@viji-dev/core 0.3.16 → 0.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1580,6 +1580,9 @@ class VideoSystem {
1580
1580
  */
1581
1581
  handleDirectFrame(data) {
1582
1582
  if (this.directGPUMode) {
1583
+ if (this.videoState.currentFrame instanceof ImageBitmap) {
1584
+ this.videoState.currentFrame.close();
1585
+ }
1583
1586
  this.videoState.currentFrame = data.imageBitmap;
1584
1587
  this.videoState.frameWidth = data.imageBitmap.width;
1585
1588
  this.videoState.frameHeight = data.imageBitmap.height;
@@ -4319,4 +4322,4 @@ async function setSceneCode(sceneCode) {
4319
4322
  }
4320
4323
  }
4321
4324
  self.setSceneCode = setSceneCode;
4322
- //# sourceMappingURL=viji.worker-Cu6zt4AH.js.map
4325
+ //# sourceMappingURL=viji.worker-BnDb6mPh.js.map