spec/ext/ext_spec_helper.rb in therubyracer-0.9.2 vs spec/ext/ext_spec_helper.rb in therubyracer-0.9.3beta1

- old
+ new

@@ -2,15 +2,17 @@ module V8::ExtSpec def self.included(object) object.class_eval do before do + @lock = c::Locker.new @cxt = c::Context::New() @cxt.Enter() end after do @cxt.Exit() @cxt.Dispose() + @lock.delete end end end def v8_eval(script, sourcename = "<eval>") \ No newline at end of file