jkunz
34b9aa4463
fix(core): track PIDs independently to survive removeProcess() race during shutdown
...
The direct child process may die from terminal SIGINT before ProcessLifecycle
runs shutdown, causing removeProcess() to clear it. Now killAll() uses a
persistent trackedPids Set that is never cleared by removeProcess(), ensuring
grandchild process trees are always killed.
2026-03-03 23:56:52 +00:00
jkunz
da24218bef
v2.0.0
v2.0.0
2026-03-03 23:40:24 +00:00
jkunz
862c67edbb
BREAKING CHANGE(lifecycle): redesign SmartExit with ProcessLifecycle singleton
...
SmartExit constructor no longer installs signal handlers.
Applications must call ProcessLifecycle.install() explicitly.
Split into SmartExit (instance process tracking) and ProcessLifecycle (global signal coordination).
Remove @push.rocks/smartdelay dependency.
2026-03-03 23:40:05 +00:00
jkunz
ad8e389ef5
v1.1.1
v1.1.1
2026-03-03 22:34:01 +00:00
jkunz
1986b3a421
fix(shutdown): kill full child process trees and add synchronous exit handler to force-kill remaining child processes
2026-03-03 22:34:01 +00:00
jkunz
2e5b26c9cf
v1.1.0
v1.1.0
2025-12-15 16:58:01 +00:00
jkunz
bb2831ec0f
feat(smartexit): Add silent logging option, structured shutdown logs, and killAll return stats
2025-12-15 16:58:01 +00:00
jkunz
4ce60859e4
v1.0.24
v1.0.24
2025-12-15 15:58:52 +00:00
jkunz
207ebd0e07
fix(deps): bump dependencies, update tests and docs, adjust tsconfig and npm release config
2025-12-15 15:58:52 +00:00
philkunz
fc4238f0fc
update description
2024-05-29 14:12:57 +02:00
philkunz
1dbb6f6a7c
1.0.23
v1.0.23
2024-04-18 13:36:10 +02:00
philkunz
13f556abe5
fix(core): update
2024-04-18 13:36:09 +02:00
philkunz
d3fe10d282
1.0.22
v1.0.22
2024-04-18 13:26:03 +02:00
philkunz
fd6eb7eecf
fix(core): update
2024-04-18 13:26:02 +02:00
philkunz
3d1ad808a5
update tsconfig
2024-04-14 17:33:39 +02:00
philkunz
7ef3a8da22
update npmextra.json: githost
2024-04-01 21:34:53 +02:00
philkunz
35871b6f23
update npmextra.json: githost
2024-04-01 19:58:10 +02:00
philkunz
ce3eda10e8
update npmextra.json: githost
2024-03-30 21:47:08 +01:00
philkunz
c1de38b771
1.0.21
v1.0.21
2023-09-11 10:29:02 +02:00
philkunz
1588c695ce
fix(core): update
2023-09-11 10:29:01 +02:00
philkunz
8192cb7bf9
switch to new org scheme
2023-07-10 02:49:01 +02:00
philkunz
2031a408bf
1.0.20
v1.0.20
2021-08-17 18:12:29 +02:00
philkunz
a2b3cede4e
fix(core): update
2021-08-17 18:12:28 +02:00
philkunz
ac51ece229
1.0.19
v1.0.19
2021-07-27 15:08:45 +02:00
philkunz
49c4681b87
fix(core): update
2021-07-27 15:08:44 +02:00
philkunz
9cae8d4818
1.0.18
v1.0.18
2021-07-27 14:56:02 +02:00
philkunz
ecc8b1c73a
fix(core): update
2021-07-27 14:56:02 +02:00
philkunz
cbc4b7b285
1.0.17
v1.0.17
2021-07-27 13:55:48 +02:00
philkunz
6210358568
fix(core): update
2021-07-27 13:55:47 +02:00
philkunz
fe1c2754da
1.0.16
v1.0.16
2021-07-27 13:42:14 +02:00
philkunz
4cb41aa1d6
fix(core): update
2021-07-27 13:42:13 +02:00
philkunz
466a03e27b
1.0.15
v1.0.15
2019-05-28 10:34:57 +02:00
philkunz
fe5e220087
fix(core): update
2019-05-28 10:34:57 +02:00
philkunz
7ad7749ba7
1.0.14
v1.0.14
2019-05-28 10:28:57 +02:00
philkunz
3f0c9e9fe0
fix(core): update
2019-05-28 10:28:56 +02:00
philkunz
c1a8c638bf
1.0.13
v1.0.13
2019-05-28 10:18:10 +02:00
philkunz
5d6f5ed282
fix(core): update
2019-05-28 10:18:10 +02:00
philkunz
b655d5e6c2
1.0.12
v1.0.12
2019-05-28 09:31:10 +02:00
philkunz
d0a5587a14
fix(core): update
2019-05-28 09:31:10 +02:00
philkunz
96c5967a35
1.0.11
v1.0.11
2019-05-27 15:16:39 +02:00
philkunz
c21c10d7f2
fix(core): update
2019-05-27 15:16:38 +02:00
philkunz
eb137c3871
1.0.10
v1.0.10
2019-05-23 17:54:42 +02:00
philkunz
334a38c71e
fix(core): update
2019-05-23 17:54:41 +02:00
philkunz
0d0404d00d
1.0.9
v1.0.9
2019-05-23 17:53:17 +02:00
philkunz
44414ab1b4
fix(core): now killing groups of processes with negative pid
2019-05-23 17:53:16 +02:00
philkunz
bcf33c718c
1.0.8
v1.0.8
2019-05-22 12:47:38 +02:00
philkunz
7a8ab962b4
fix(core): add sigkill with 10 second delay
2019-05-22 12:47:38 +02:00
philkunz
29021a7ffe
1.0.7
v1.0.7
2019-05-19 22:23:38 +02:00
philkunz
ca473dcd2e
fix(core): update
2019-05-19 22:23:38 +02:00
philkunz
b0b32fd730
1.0.6
v1.0.6
2019-05-19 22:23:18 +02:00