Trevor Baron 6 роки тому
батько
коміт
c63e874879
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      src/Cameras/XR/babylon.webXRSessionManager.ts

+ 1 - 0
src/Cameras/XR/babylon.webXRSessionManager.ts

@@ -166,6 +166,7 @@ module BABYLON {
          */
         public dispose() {
             this.onXRFrameObservable.clear();
+            this.onXRSessionEnded.clear();
         }
     }
 }