Closed kkettinger closed 1 year ago
Thanks for reporting this bug. I thought I already fixed this issue in #31, wondering why is happening again. Which Go version are you using?
I'm using the version go version go1.19.5 linux/arm
.
Could you check if this branch fixes your issue: https://github.com/qmuntal/stateless/tree/fix-ops
Thanks in advance.
Just tested it on the raspberrypi, works without panic. Thanks a lot!
I'm trying to control the state machine with gin (http server) on a raspberry pi 4, but after firing the first event i get a panic:
System:
Linux raspberrypi 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux
If i change the
ops
variable frm uint64 to uint32 and all corresponding atomic methods to uint32 too, it works fine without panic: