nevalang / neva

🌊 Flow-based programming language with static types and implicit parallelism. Compiles to native code and Go
https://nevalang.org
MIT License
85 stars 7 forks source link

Graceful shutdown on ctrl+C #667

Open emil14 opened 4 weeks ago

emil14 commented 4 weeks ago

When I was creating this I was thinking about internal implementation rather than userland API.

I'm not sure but I think that when I terminate program with SIGINT signal it won't free resources and that could lead to leaks.

User probably also needs to be able to implement graceful shutdown but another issue should be created if that's the case.