teleportxr 1.0.53 → 1.0.55

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.
Files changed (2) hide show
  1. package/client/client.js +3 -1
  2. package/package.json +1 -1
package/client/client.js CHANGED
@@ -255,8 +255,10 @@ class Client {
255
255
  //! disconnecting, or when the server determines that the client is lost or needs to be booted.
256
256
  StopStreaming()
257
257
  {
258
- this.webRtcConnectionManager.destroyConnection(this.clientID);
258
+ if(this.webRtcConnectionManager)
259
+ this.webRtcConnectionManager.destroyConnection(this.clientID);
259
260
  this.webRtcConnection=null;
261
+ this.webRtcConnectionManager=null;
260
262
  }
261
263
  // Generic message acknowledgement. Certain kinds of message are expected to be ack'ed.
262
264
  ReceiveAcknowledgement(data)
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "name": "teleportxr",
17
17
  "description": "Teleport Spatial Server on node.js",
18
- "version": "1.0.53",
18
+ "version": "1.0.55",
19
19
  "repository": {
20
20
  "type": "git",
21
21
  "url": "git+https://github.com/simul/teleport-nodejs.git"