From df4dfc36e7f08ba3a23556faa36827d79903c8c7 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 14 Apr 2014 19:52:49 -0700 Subject: [PATCH] MachineIndex lock is a monitor to allow recursion --- lib/vagrant/machine_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/machine_index.rb b/lib/vagrant/machine_index.rb index e396eb70b..e19b09cd0 100644 --- a/lib/vagrant/machine_index.rb +++ b/lib/vagrant/machine_index.rb @@ -43,7 +43,7 @@ module Vagrant def initialize(data_dir) @data_dir = data_dir @index_file = data_dir.join("index") - @lock = Mutex.new + @lock = Monitor.new @machines = {} @machine_locks = {}