Add _default_workspace to shared storage finalization
- Add _default_workspace to global vars - Set _default_workspace to None on cleanup - Ensure complete resource cleanup - Fix missing workspace finalization
This commit is contained in:
parent
cf73cb4d24
commit
6d6716e9f8
1 changed files with 3 additions and 1 deletions
|
|
@ -1583,7 +1583,8 @@ def finalize_share_data():
|
|||
_init_flags, \
|
||||
_initialized, \
|
||||
_update_flags, \
|
||||
_async_locks
|
||||
_async_locks, \
|
||||
_default_workspace
|
||||
|
||||
# Check if already initialized
|
||||
if not _initialized:
|
||||
|
|
@ -1646,6 +1647,7 @@ def finalize_share_data():
|
|||
_data_init_lock = None
|
||||
_update_flags = None
|
||||
_async_locks = None
|
||||
_default_workspace = None
|
||||
|
||||
direct_log(f"Process {os.getpid()} storage data finalization complete")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue