MachineIndex lock is a monitor to allow recursion

This commit is contained in:
Mitchell Hashimoto 2014-04-14 19:52:49 -07:00
parent 5f5d3d5ef0
commit df4dfc36e7
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {}