diff options
| -rw-r--r-- | state.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -107,6 +107,7 @@ class State @active = false self.class.depends.each{ |x| x.remove_hold(x) } State.gc + State.depsolve_all end # Determine if two State objects are equivalent @@ -199,6 +200,7 @@ private self.class.depends.each{ |x| x.hold(self) } self.class.rising_edge.call(@params) @active = true + State.depsolve_all end # Inform other states that they may no longer depend on this one |
