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