From fd331ee7853eeb489e7252a4cd48e30794db3a55 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 26 Dec 2011 17:03:29 -0800 Subject: [PATCH] Util::Busy calls the callbacks in reverse order --- lib/vagrant/util/busy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/busy.rb b/lib/vagrant/util/busy.rb index 5dd6a6ad8..52ee25929 100644 --- a/lib/vagrant/util/busy.rb +++ b/lib/vagrant/util/busy.rb @@ -46,7 +46,7 @@ module Vagrant # Fires all the registered callbacks. def fire_callbacks - registered.each { |r| r.call } + registered.reverse.each { |r| r.call } end # Helper method to get access to the class variable. This is mostly