Closed tcompa closed 4 days ago
Changes coming with https://github.com/fractal-analytics-platform/fractal-server/pull/1793:
__exit__
cleanup)__init__
methods, which turns out to not perform the expected cleanup. We manually added the thread cleanup to the specific errors.Closed with #1790. A different issue is due, re: whether failed paramiko connections leave a trace of spurious threads open - cc @mfranzon
The minimal example below shows that the
__exit__
method is not called if an error is raised in__init__
, and it shows a possibly pattern for always cleaning up.output