p_tqdm icon indicating copy to clipboard operation
p_tqdm copied to clipboard

When using p_tqdm in a Jupyter session and the cell is killed, the processes continue.

Open r-menezes opened this issue 1 year ago • 0 comments

p_tqdm is the easiest and most beautiful way to parallelize computations. I use it often but sometimes I need to cancel some calculation. When this happens, I need to restart the kernel.

I thought that encapsulating the usage of the Pool in a with ... as ... clause could solve this problem. I am presenting a PR implementing this small change to demonstrate it.

r-menezes avatar Jun 01 '23 10:06 r-menezes