While using the pod to download some files from a remote host the script does not terminate, it gets stuck at the end of the main thread code. I thought it might be due to the thread pool used by agents and added the call to (shutdown-agents). However, the script still gets stuck.
babashka version is 'v1.3.185'
bbssh pod version is 0.5.0
I have created a minimal script that reproduces the error:
The script actually downloads the file, but does not terminate. Killing the pod manually with (pods/unload-pod bbsh-pod) doesn't work either, it blocks on this call also.
While using the pod to download some files from a remote host the script does not terminate, it gets stuck at the end of the main thread code. I thought it might be due to the thread pool used by agents and added the call to
(shutdown-agents)
. However, the script still gets stuck.I have created a minimal script that reproduces the error:
The script actually downloads the file, but does not terminate. Killing the pod manually with
(pods/unload-pod bbsh-pod)
doesn't work either, it blocks on this call also.