lib/ruote/engine.rb in ruote-2.1.1 vs lib/ruote/engine.rb in ruote-2.1.2
- old
+ new
@@ -48,10 +48,10 @@
@context.engine = self
else
@worker = nil
@storage = worker_or_storage
- @context = Ruote::Context.new(self)
+ @context = Ruote::Context.new(@storage, self)
end
@variables = EngineVariables.new(@storage)
@worker.run_in_thread if @worker && run