librados2-perl/PVE
Fiona Ebner 8d524b3e0f use POSIX::_exit instead of exit in forked child
This avoids calling the END blocks and destructor routines most of
which have nothing to do with the fork, so it cannot be assumed to be
safe to do from the fork.

Move the call to pve_rados_shutdown from the destructor routine,
which will not be called by the child anymore. Make sure the cleanup
is also done when the worker dies.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-08-11 09:01:01 +02:00
..
RADOS.pm use POSIX::_exit instead of exit in forked child 2023-08-11 09:01:01 +02:00