mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
ActionManager calls a finalize function if defined
This commit is contained in:
parent
0afd63941c
commit
e7ee28a91d
@ -102,6 +102,7 @@ class ActionManager
|
||||
return if @finalize
|
||||
|
||||
if aname == :FINALIZE
|
||||
finalize if respond_to?(:finalize)
|
||||
@finalize = true
|
||||
@threads_cond.signal if @num_running == 0
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user