lunatic-solutions / lunatic

Lunatic is an Erlang-inspired runtime for WebAssembly
https://lunatic.solutions
Apache License 2.0
4.62k stars 138 forks source link

Allow sender to be dropped during execution #142

Closed HurricanKai closed 2 years ago

HurricanKai commented 2 years ago

As discussed on discord. Done limited testing, but I don't see why this wouldn't work.

Threw in a debug_assert for this to only happen once, for good measure. this should be insured by the mailbox already.