ergo-services / ergo

An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang. Zero dependencies.
https://docs.ergo.services
MIT License
3.67k stars 143 forks source link

Fix double panic in Spawn process handler #52

Closed halturin closed 3 years ago

halturin commented 3 years ago

We shouldn't close this channel while the process is running. Otherwise, it causes yet another panic (send to a closed channel) during the recovery handling.