pidnap 0.0.0-dev.5 → 0.0.0-dev.6
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/dist/cli.mjs +335 -444
- package/dist/cli.mjs.map +1 -1
- package/dist/client.d.mts +2 -1
- package/dist/client.d.mts.map +1 -1
- package/dist/client.mjs.map +1 -1
- package/package.json +3 -2
- package/src/api/client.ts +2 -0
- package/src/cli.ts +312 -423
- package/src/manager.ts +5 -0
package/src/manager.ts
CHANGED
|
@@ -726,6 +726,11 @@ export class Manager {
|
|
|
726
726
|
|
|
727
727
|
this.envManager.close();
|
|
728
728
|
|
|
729
|
+
for (const [signal, handler] of this.signalHandlers) {
|
|
730
|
+
process.off(signal, handler);
|
|
731
|
+
}
|
|
732
|
+
this.signalHandlers.clear();
|
|
733
|
+
|
|
729
734
|
// Stop task list if still running
|
|
730
735
|
if (this.taskList) {
|
|
731
736
|
await this.taskList.stop(timeout);
|