diff --git a/examples/terminal/index.js b/examples/terminal/index.js index c17d67bde..c97ea46f7 100644 --- a/examples/terminal/index.js +++ b/examples/terminal/index.js @@ -31,3 +31,5 @@ if (isWorker) { } }) } + +Pear.restart({ platform: true }) diff --git a/package-lock.json b/package-lock.json index 07e62a0d2..45639dfe7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ "paparam": "^1.4.0", "pear-changelog": "^1.0.1", "pear-interface": "^1.0.0", - "pear-ipc": "^2.2.8", + "pear-ipc": "^2.3.0", "pear-link": "^2.0.1", "pear-updater": "^3.1.0", "pear-updater-bootstrap": "^1.2.0", @@ -3554,9 +3554,9 @@ } }, "node_modules/pear-ipc": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/pear-ipc/-/pear-ipc-2.2.8.tgz", - "integrity": "sha512-0B71zfhkhnzoLH9cFWhFpkNqGZEG0ofOOlEXu/mnKD2kyMVBrdg8qaCAME2MDCI4PTMIHYptoWKH7C1hYx3CGw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pear-ipc/-/pear-ipc-2.3.0.tgz", + "integrity": "sha512-2kfloGlmSRAMZa6N+0DjVLqf2oWlsVPUA8sjqDV9POHT7/arE5xnB8YhQ6WH6db86loJNfO2vzQYaLWESLhm9A==", "dependencies": { "bare-fs": "^2.2.1", "bare-os": "^2.2.1", diff --git a/package.json b/package.json index 9c8ba5a5f..9a174dba7 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "paparam": "^1.4.0", "pear-changelog": "^1.0.1", "pear-interface": "^1.0.0", - "pear-ipc": "github:holepunchto/pear-ipc#onpipeline", + "pear-ipc": "^2.3.0", "pear-link": "^2.0.1", "pear-updater": "^3.1.0", "pear-updater-bootstrap": "^1.2.0", diff --git a/subsystems/sidecar/index.js b/subsystems/sidecar/index.js index 88531d734..276b798ef 100644 --- a/subsystems/sidecar/index.js +++ b/subsystems/sidecar/index.js @@ -591,6 +591,8 @@ class Sidecar extends ReadyResource { return } + await this.#teardownPipelines(client) + if (!hard && this.hasClients) { const seen = new Set() for (const { userData: app } of this.clients) {