With this PR the Block object is now reset (by means of the Block.reset() method) at the end of each call to Block._cleanup().
It cleans up all the references to the instantiated Blocks, as well as the synchronization objects and other instantiated multiprocessing objects.
These references and objects are anyway not of any use at that point anymore.
Users now don't need to manually call crappy.reset() before being able to restart a script.
With this PR the Block object is now reset (by means of the
Block.reset()
method) at the end of each call toBlock._cleanup()
. It cleans up all the references to the instantiated Blocks, as well as the synchronization objects and other instantiated multiprocessing objects. These references and objects are anyway not of any use at that point anymore.Users now don't need to manually call
crappy.reset()
before being able to restart a script.