@remix_labs/machine-starter 2.12921.0-dev → 2.12927.0-dev

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.
package/common.js CHANGED
@@ -74,12 +74,8 @@ function killVM(vmID) {
74
74
  let payload = { _rmx_type:"msg_vm_register", id: vmID, alive: false };
75
75
  last_hub.newChannel().then(channel => {
76
76
  let msg = channel.newJSONMessage("msg_vm_register", "vm", payload);
77
- channel.publish(topic + "/announce", msg, true).then(_ => {
78
- channel.unsubscribeClient("vm_" + vmID);
79
- })
80
- }).then(() => {
81
- worker.terminate()
82
- });
77
+ channel.publish(topic + "/announce", msg, true)
78
+ }).then(_ => worker.terminate())
83
79
  } else {
84
80
  worker.terminate()
85
81
  }
@@ -137,7 +133,7 @@ async function StartWASM2(hub, config, getWorker) {
137
133
  console.log("[machine-starter] Call MixExplain() for explaining debug levels, and MixSetMask(m) for changing these")
138
134
  };
139
135
  last_hub = hub;
140
- let channel = await hub.newChannel("vm_" + config.vmID);
136
+ let channel = await hub.newChannel();
141
137
  // injected by either index.js or node.js
142
138
  let worker = await getWorker();
143
139
  if (workers[config.vmID] || ffiLoops[config.vmID])
@@ -1,2 +1,2 @@
1
- var GROOVEBOX_BUILD = "12921";
1
+ var GROOVEBOX_BUILD = "12927";
2
2
  export { GROOVEBOX_BUILD }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix_labs/machine-starter",
3
- "version": "2.12921.0-dev",
3
+ "version": "2.12927.0-dev",
4
4
  "description": "start the groove",
5
5
  "main": "node.js",
6
6
  "browser": "index.js",
@@ -11,7 +11,7 @@
11
11
  "author": "Remixlabs staff",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
- "@remix_labs/hub-client": "2.12921.0-dev",
14
+ "@remix_labs/hub-client": "2.12927.0-dev",
15
15
  "nanoid": "^5.0.2",
16
16
  "web-worker": "^1.2.0"
17
17
  },