diff --git a/lib/v8/util/weakcell.rb b/lib/v8/util/weakcell.rb index bc0e9c6..7562238 100644 --- a/lib/v8/util/weakcell.rb +++ b/lib/v8/util/weakcell.rb @@ -15,7 +15,7 @@ module V8 else populate(block) end - rescue RefError + rescue WeakRef::RefError populate(block) end