STR-771: No call to dr-leave-scope in dr-ignore-state
The dr-ignore-state and dr-ignore-states strategies do not call dr-leave-scope. Because of STR-168, any rule assignments within them are not garbage collected.
; dr-switch-rule-set(|name) => rs
; where(<dr-set-rule-set(|name)> rs)
; zip(dr-switch-rule-set | names) => rss
; where(<zip(dr-set-rule-set | names)> rss)
I propose to add dr-leave-scope calls to both strategies. Applying this does not fail any of the standard unit tests, and it seems unlikely that other applications depend on the old behavior of these (rarely used) strategies.Submitted on 26 May 2009 at 12:30
Log in to post comments