From b47cbd1a5fbf6a3e6379b0d5720f8b93ff5bc2cc Mon Sep 17 00:00:00 2001 From: Casey Dahlin Date: Tue, 7 Oct 2008 12:46:07 -0400 Subject: Yet another use of self.class.depends where @deps belongs referral to self.class.depends left over from when actual deps were stored there. --- state.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state.rb b/state.rb index fbe5566..2f80ab3 100644 --- a/state.rb +++ b/state.rb @@ -141,7 +141,7 @@ class State return unless @active break_holds if @holds.size > 0 @active = false - self.class.depends.each{ |x| x.remove_hold(x) } + @deps.each{ |x| x.release(self) } State.gc State.depsolve_all end -- cgit