feat&fix: add signal handling for VM allocation and improve cleanup on termination
This commit is contained in:
@@ -161,7 +161,6 @@ def process_signal_handler(signum, frame, env_idx):
|
||||
|
||||
# Get the active_environments from the caller's frame
|
||||
local_vars = frame.f_locals
|
||||
print(f"Local variables in process {env_idx + 1}: {local_vars}")
|
||||
active_environments = local_vars.get('active_environments', [])
|
||||
|
||||
# Close environment in the current process context
|
||||
|
||||
Reference in New Issue
Block a user