@remix_labs/machine-starter 2.2832.0-dev → 2.2836.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
@@ -7,16 +7,20 @@ let children = {};
7
7
  let ffiSubscriptions = {};
8
8
 
9
9
  function terminateAll() {
10
- console.log("[groovebox-starter] Terminate all VMs");
10
+ console.log("[groovebox-starter] terminate all VMs");
11
11
  for (let [vmID, worker] of Object.entries(workers)) {
12
12
  worker.terminate();
13
13
  };
14
+ for (let ffiSubscription of Object.values(ffiSubscriptions)) {
15
+ ffiSubscription.terminate();
16
+ }
14
17
  workers = {};
15
18
  children = {};
19
+ ffiSubscriptions = {};
16
20
  }
17
21
 
18
22
  function terminateVM(vmID) {
19
- console.log("[groovebox-starter] Terminate VM", vmID);
23
+ console.log("[groovebox-starter] terminate VM", vmID);
20
24
  let worker = workers[vmID];
21
25
  if (worker) {
22
26
  let vmChildren = children[vmID];
@@ -1,2 +1,2 @@
1
- var GROOVEBOX_BUILD = "3112";
1
+ var GROOVEBOX_BUILD = "3116";
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.2832.0-dev",
3
+ "version": "2.2836.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.2832.0-dev",
14
+ "@remix_labs/hub-client": "2.2836.0-dev",
15
15
  "nanoid": "^5.0.2",
16
16
  "web-worker": "^1.2.0"
17
17
  },