pinokiod 1.3.34 → 1.3.35
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/package.json +1 -1
- package/server/index.js +11 -4
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -1732,12 +1732,19 @@ class Server {
|
|
|
1732
1732
|
if (this.listening) {
|
|
1733
1733
|
// stop proxies
|
|
1734
1734
|
for(let scriptPath in this.kernel.api.proxies) {
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1735
|
+
try {
|
|
1736
|
+
await this.kernel.api.stopProxy({
|
|
1737
|
+
script: scriptPath
|
|
1738
|
+
})
|
|
1739
|
+
} catch (e) {
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
try {
|
|
1743
|
+
await this.httpTerminator.terminate();
|
|
1744
|
+
} catch (e) {
|
|
1738
1745
|
}
|
|
1739
|
-
await this.httpTerminator.terminate();
|
|
1740
1746
|
}
|
|
1747
|
+
console.log("** AA")
|
|
1741
1748
|
|
|
1742
1749
|
// configure from kernel.store
|
|
1743
1750
|
await this.syncConfig()
|