@xuda.io/xuda-worker-bundle-min 1.3.514 → 1.3.515

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/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3460,7 +3460,12 @@ func.datasource.del = function (SESSION_ID, dsP) {
3460
3460
  let _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsP];
3461
3461
  if (_ds.worker_id) {
3462
3462
  // if (_ds.data_xuda) console.log(dsP);
3463
- if (RUNTIME_SERVER_WEBSOCKET && RUNTIME_SERVER_WEBSOCKET_CONNECTED) {
3463
+ if (
3464
+ RUNTIME_SERVER_WEBSOCKET &&
3465
+ RUNTIME_SERVER_WEBSOCKET_CONNECTED &&
3466
+ (!_session.opt.app_computing_mode ||
3467
+ _session.opt.app_computing_mode === "server")
3468
+ ) {
3464
3469
  WEB_WORKER[SESSION_ID][_ds.worker_id].emit("message", {
3465
3470
  service: "close_websocket",
3466
3471
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.514",
3
+ "version": "1.3.515",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {