Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 5e21f1d

Browse files
committed
remove calls to Dispose in specs
1 parent d969b1c commit 5e21f1d

3 files changed

Lines changed: 0 additions & 12 deletions

File tree

spec/c/isolate_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@
66
it 'can create a new isolate' do
77
expect(isolate).to be
88
end
9-
10-
it "can be disposed of" do
11-
isolate.Dispose()
12-
end
139
end

spec/c_spec_helper.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ def bootstrap_v8_context
2323
@ctx.Exit
2424
end
2525
end
26-
ensure
27-
@isolate.Dispose()
2826
end
2927
end
3028

spec/spec_helper.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
require 'v8'
22

3-
def run_v8_gc
4-
V8::C::V8::LowMemoryNotification()
5-
while !V8::C::V8::IdleNotification() do
6-
end
7-
end
8-
93
def rputs(msg)
104
puts "<pre>#{ERB::Util.h(msg)}</pre>"
115
$stdout.flush

0 commit comments

Comments
 (0)