mutablelogic / go-server

General HTTP Server for golang with a plugin architecture
https://pkg.go.dev/github.com/mutablelogic/go-server
Apache License 2.0
4 stars 0 forks source link

go-server provider cancel order #47

Open djthorpe opened 1 year ago

djthorpe commented 1 year ago

Fixup provider cancellation of tasks

Should cancel tasks in the reverse order to which they were created and wait for each task to finish before cancelling the next one.

Provider is generally pretty ugly code so it does need a refactor.