Revision 5e083026

View differences:

src/mad/ruby/ActionManager.rb
151 151
                @threads_cond.signal
152 152
            else
153 153
                i = @action_queue.select{|x| x[:id] == action_id}.first
154
                @action_queue.delete_at(i) if i
154
                @action_queue.delete(i) if i
155 155
            end
156 156
        }
157 157
    end
src/mad/ruby/OpenNebulaDriver.rb
71 71
    def start_driver
72 72
        loop_thread = Thread.new { loop }
73 73
        start_listener
74
        loop_thread.kill!
74
        loop_thread.kill
75 75
    end
76 76

  
77 77
private

Also available in: Unified diff