We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a5cd5c commit cdd3fc7Copy full SHA for cdd3fc7
src/device.ts
@@ -316,7 +316,12 @@ export class DeviceService {
316
if (s.pose) s.pose.r = contextViewId;
317
}
318
319
- this.frameStateEvent.raiseEvent(state);
+ try {
320
+ this.frameStateEvent.raiseEvent(state);
321
+ } catch(e) {
322
+ this.sessionService.manager.sendError(e);
323
+ this.sessionService.errorEvent.raiseEvent(e);
324
+ }
325
326
const vrDisplay = this._vrDisplay;
327
if (this.autoSubmitFrame && vrDisplay && vrDisplay.isPresenting) {
0 commit comments