summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--state.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/state.rb b/state.rb
index 1c6d09e..db21952 100644
--- a/state.rb
+++ b/state.rb
@@ -124,9 +124,10 @@ class State
# Set this state to untrue
def drop
return unless @active
+ trace "Dropping #{self}"
break_holds if @holds.size > 0
- self.class.falling_edge.call(params)
becomes_defunct
+ self.class.falling_edge.call(params)
end
# Parameters to this state