emscripten-core / emscripten-core/emscripten
`emscripten_clear_timeout` fails to clear/pop the keepalive counter.
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
`emscripten_set_timeout` increases the keepalive count but `emscripten_clear_timeout` doesn't decrease it.
This mean that programs that call `emscripten_clear_timeout` will incorrectly stay alive longer than they expect.
Contributor guide
Assessment
This issue has not been assessed yet.