jow- / ucode

JavaScript-like language with optional templating
ISC License
90 stars 30 forks source link

uloop: terminate parent uloop in task child processes #127

Closed jow- closed 1 year ago

jow- commented 1 year ago

Ensure that the main process uloop is terminated within task child processes. Before this fix, using uloop in a task function would trigger invalid memory accesses in the parent process by notifying non-existing fd slots in the parent through the inherited shared epoll descriptor.

Signed-off-by: Jo-Philipp Wich jo@mein.io