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
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
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
bb2831ec0f
feat(smartexit): Add silent logging option, structured shutdown logs, and killAll return stats
2025-12-15 16:58:01 +00:00
207ebd0e07
fix(deps): bump dependencies, update tests and docs, adjust tsconfig and npm release config
2025-12-15 15:58:52 +00:00
13f556abe5
fix(core): update
2024-04-18 13:36:09 +02:00
fd6eb7eecf
fix(core): update
2024-04-18 13:26:02 +02:00
1588c695ce
fix(core): update
2023-09-11 10:29:01 +02:00
49c4681b87
fix(core): update
2021-07-27 15:08:44 +02:00
ecc8b1c73a
fix(core): update
2021-07-27 14:56:02 +02:00
4cb41aa1d6
fix(core): update
2021-07-27 13:42:13 +02:00
fe5e220087
fix(core): update
2019-05-28 10:34:57 +02:00
3f0c9e9fe0
fix(core): update
2019-05-28 10:28:56 +02:00
5d6f5ed282
fix(core): update
2019-05-28 10:18:10 +02:00
d0a5587a14
fix(core): update
2019-05-28 09:31:10 +02:00
c21c10d7f2
fix(core): update
2019-05-27 15:16:38 +02:00
334a38c71e
fix(core): update
2019-05-23 17:54:41 +02:00
44414ab1b4
fix(core): now killing groups of processes with negative pid
2019-05-23 17:53:16 +02:00
7a8ab962b4
fix(core): add sigkill with 10 second delay
2019-05-22 12:47:38 +02:00
ca473dcd2e
fix(core): update
2019-05-19 22:23:38 +02:00
924309ea8e
fix(core): update
2019-05-19 22:23:17 +02:00
1451da7aba
fix(core): update
2019-05-19 22:12:21 +02:00
00321467d9
fix(core): update
2019-05-16 18:48:45 +02:00
ee13d91632
fix(core): initial
2019-05-16 15:10:22 +02:00