Open files leak when killing process
Created by: jD91mZM2
Schemes' close
function does not get called when killing a process, for example with Ctrl+C. You can verify this by killing smolnetd
and trying to restart it (complains about file already being used). You can also verify this with the IPC hello example by doing the same thing. With the latter, I've verified that the IPC scheme isn't getting called at all when the process gets killed.
Using the exit(0)
syscall still works.