core-3nweb-client-lib 0.31.6 → 0.31.7

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.
@@ -220,8 +220,11 @@ class ClientsSideImpl {
220
220
  this.srvRefs.set(o, srvRef);
221
221
  }
222
222
  doOnClientObjDrop(srvRef) {
223
- this.weakSrvByRefs.delete(srvRef.path[0]);
224
- this.sendObjDropMsg(srvRef);
223
+ var _a;
224
+ if (!((_a = this.weakSrvByRefs.get(srvRef.path[0])) === null || _a === void 0 ? void 0 : _a.weakRef.deref())) {
225
+ this.weakSrvByRefs.delete(srvRef.path[0]);
226
+ this.sendObjDropMsg(srvRef);
227
+ }
225
228
  }
226
229
  sendObjDropMsg(srvRef) {
227
230
  if (this.isStopped) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.31.6",
3
+ "version": "0.31.7",
4
4
  "description": "3NWeb client core library, embeddable into different environments",
5
5
  "main": "build/lib-index.js",
6
6
  "types": "build/lib-index.d.ts",