1
1
mirror of https://github.com/wader/fq.git synced 2024-12-27 15:42:07 +03:00
fq/internal/ctxstack
Mattias Wadman 568afff3f0 interp: Fix panic when trigger before any context has been pushed
Make sure there is a top cancel function before calling it.
Fixes panic caused when interrupting decode before interp context has been pushed.

Also cleanup confusing naming a bit.

Thanks @pldin601 for reporting
2022-11-29 17:38:58 +01:00
..
ctxstack.go interp: Fix panic when trigger before any context has been pushed 2022-11-29 17:38:58 +01:00
ctxstacl_test.go interp: Fix panic when trigger before any context has been pushed 2022-11-29 17:38:58 +01:00