1
0
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:
Javi Fontan 2010-07-01 11:54:14 +02:00
parent 0afd63941c
commit e7ee28a91d

View File

@ -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