Skip to content

Allows user code to retain references to memoized helpers

gitlab-qa-bot requested to merge github/fork/JoshCheek/1921_fix_memory_leak into master

Created by: JoshCheek

Accomplish this by no longer clearing the example's ivars.

Fixes rspec/rspec-core#1921

Context

However, this patch tests the behaviour of the memory leak, rather than its mechanics, which shows that it was fixed at some point. So we simply remove that code.

Merge request reports