@remix_labs/machine-starter 2.12946.0-dev → 2.12947.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 +3 -3
- package/groovebox_build.js +1 -1
- package/package.json +2 -2
package/common.js
CHANGED
|
@@ -14,7 +14,7 @@ let blobs = {};
|
|
|
14
14
|
let blobsLoops = {};
|
|
15
15
|
let coordination = {};
|
|
16
16
|
|
|
17
|
-
function
|
|
17
|
+
function terminateAllOnExit() {
|
|
18
18
|
console.log("[machine-starter] terminate all VMs");
|
|
19
19
|
for (let [vmID, worker] of Object.entries(workers)) {
|
|
20
20
|
worker.terminate();
|
|
@@ -106,7 +106,7 @@ async function terminateVM(vmID) {
|
|
|
106
106
|
|
|
107
107
|
if (globalThis.Process) {
|
|
108
108
|
Process.on("exit", () => {
|
|
109
|
-
|
|
109
|
+
terminateAllOnExit()
|
|
110
110
|
})
|
|
111
111
|
};
|
|
112
112
|
|
|
@@ -566,6 +566,6 @@ class FFIComm {
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
// use terminateVM to shut a worker down!
|
|
569
|
-
export { StartWASM, StartWASM2,
|
|
569
|
+
export { StartWASM, StartWASM2, terminateVM,
|
|
570
570
|
Token, Case, Opaque
|
|
571
571
|
}
|
package/groovebox_build.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var GROOVEBOX_BUILD = "
|
|
1
|
+
var GROOVEBOX_BUILD = "12947";
|
|
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.
|
|
3
|
+
"version": "2.12947.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.
|
|
14
|
+
"@remix_labs/hub-client": "2.12947.0-dev",
|
|
15
15
|
"nanoid": "^5.0.2",
|
|
16
16
|
"web-worker": "^1.2.0"
|
|
17
17
|
},
|