summaryrefslogtreecommitdiff
path: root/internal/fsm
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-20 13:00:08 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit964ce28f1b75738a62c66c522048380e26aa4443 (patch)
treedce6b7f02647f880c81cec522ff71e11fe867b1c /internal/fsm
parent8611e30ce22b1377efdb1e5b9528678a1098edeb (diff)
FSM: Set handled to true for now
Diffstat (limited to 'internal/fsm')
-rw-r--r--internal/fsm/fsm.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/fsm/fsm.go b/internal/fsm/fsm.go
index 09712d3..1498b10 100644
--- a/internal/fsm/fsm.go
+++ b/internal/fsm/fsm.go
@@ -150,7 +150,8 @@ func (fsm *FSM) GoTransitionWithData(newState StateID, data interface{}) bool {
fsm.writeGraph()
}
- return fsm.StateCallback(prev, newState, data)
+ fsm.StateCallback(prev, newState, data)
+ return true
}
// GoTransition is an alias to call GoTransitionWithData but have an empty string as data.