aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-12 08:30:27 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-21 10:55:23 +0000
commit324a1f80a8a90cb4d087c8056241cf5649dde5ce (patch)
treede635f6e855ceb293b5eb36873a9318c6acf7c35 /scripts/benchmark.py
parentterm: remove client application’s pid from reaper when shutting down (diff)
reaper: remove child from list *before* calling the user provided callback
The user provided callback may call reaper_del(), in which case we will crash when we also try to remove the child from the list. Remove it from the list before the callback means reaper_del() (if called by the callback) will just loop through the entire list without finding the pid and thus do nothing.
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions