pinokiod 3.8.133 → 3.8.135

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/kernel/index.js +5 -4
  2. package/package.json +1 -1
package/kernel/index.js CHANGED
@@ -33,7 +33,8 @@ const Proto = require('./prototype')
33
33
  const Router = require("./router")
34
34
  const Procs = require('./procs')
35
35
  const Peer = require('./peer')
36
- const kill = require('./tree-kill');
36
+ //const kill = require('./tree-kill');
37
+ const kill = require('kill-sync')
37
38
  const VARS = {
38
39
  pip: {
39
40
  install: {
@@ -520,9 +521,9 @@ class Kernel {
520
521
  // }
521
522
  }
522
523
  }
523
- kill(pid) {
524
- console.log("Kill", pid)
525
- kill(pid, 'SIGKILL', true)
524
+ kill() {
525
+ console.log("Kill Pinokiod", process.pid)
526
+ kill(process.pid, 'SIGKILL', true)
526
527
  }
527
528
  async init(options) {
528
529
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.133",
3
+ "version": "3.8.135",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {