Util::Busy calls the callbacks in reverse order
This commit is contained in:
parent
bfc85d7f14
commit
fd331ee785
|
@ -46,7 +46,7 @@ module Vagrant
|
||||||
|
|
||||||
# Fires all the registered callbacks.
|
# Fires all the registered callbacks.
|
||||||
def fire_callbacks
|
def fire_callbacks
|
||||||
registered.each { |r| r.call }
|
registered.reverse.each { |r| r.call }
|
||||||
end
|
end
|
||||||
|
|
||||||
# Helper method to get access to the class variable. This is mostly
|
# Helper method to get access to the class variable. This is mostly
|
||||||
|
|
Loading…
Reference in New Issue