It consists of two buttons - “Press me” (which starts timeout via Process.sleep and Process.spawn) and “StopTimeout” (which double kills the timeout)
Previously I killed timeout once, but I faced runtime exception when I tried to kill the same timeout twice.
So I decided to kill twice in the example in order to reproduce this behavior.
Is this an expected behavior to crash app on double process kill?
An Elm app shouldn’t crash during runtime, expect for a few edge cases ™, so I think it’s safe to say this is a bug. Perhaps you should open an issue on elm/core
EDIT: Evan pointed out that an issue already exists. I searched for this issue in the complier’s repo and didn’t find any related issues. I should have searched elm/core too!