summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-10-07 12:46:07 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-10-07 12:46:07 -0400
commitb47cbd1a5fbf6a3e6379b0d5720f8b93ff5bc2cc (patch)
tree70d40f4dfa1beddc7cfcfb250fdbfd20d6e00e31 /state.rb
parent0dfefe69374e668a6b720cf6aaaf330aaad69339 (diff)
downloadupstate-b47cbd1a5fbf6a3e6379b0d5720f8b93ff5bc2cc.tar.gz
upstate-b47cbd1a5fbf6a3e6379b0d5720f8b93ff5bc2cc.tar.xz
upstate-b47cbd1a5fbf6a3e6379b0d5720f8b93ff5bc2cc.zip
Yet another use of self.class.depends where @deps belongs
referral to self.class.depends left over from when actual deps were stored there.
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb2
1 files changed, 1 insertions, 1 deletions
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