|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, good bot.
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
SharedMemory.unlink() uses the unregister() function from resource_tracker. Previously it was imported in the method, but this can fail if the method is called during interpreter shutdown, for example when unlink is part of a del() method.
Moving the import to the top of the file, means that the unregister() method is available during interpreter shutdown.
The register call in SharedMemory.init() can also use this imported resource_tracker.
(cherry picked from commit 9a458be)
Co-authored-by: samtygier samtygier@yahoo.co.uk