pinokiod 2.14.7 → 2.14.9
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/kernel/shells.js +3 -2
- package/package.json +1 -1
package/kernel/shells.js
CHANGED
|
@@ -87,6 +87,7 @@ class Shells {
|
|
|
87
87
|
}
|
|
88
88
|
ondata(stream)
|
|
89
89
|
})
|
|
90
|
+
console.log("shell ended", { id: sh.id, response, stdout: response, event: m })
|
|
90
91
|
|
|
91
92
|
|
|
92
93
|
// need to make a request
|
|
@@ -197,10 +198,10 @@ class Shells {
|
|
|
197
198
|
return this.kill(request, message)
|
|
198
199
|
}
|
|
199
200
|
reset() {
|
|
200
|
-
console.log("reset", this.shells)
|
|
201
|
+
console.log("reset", this.shells.length)
|
|
201
202
|
if (this.shells) {
|
|
202
203
|
for(let shell of this.shells) {
|
|
203
|
-
console.log("[Kill]", shell)
|
|
204
|
+
console.log("[Kill]", shell.id)
|
|
204
205
|
shell.kill("", true)
|
|
205
206
|
}
|
|
206
207
|
}
|