D
Deno

help

Deno.open() question

Aagorushkin6/4/2023
Does, when the process terminate, deno close the files if they were opened with Deno.open()?
Hhexagon56k6/4/2023
Always closing is best practise for many reasons. But... if your application crashes (or ends gracefully), the file descriptors will definitely be closed and disconnected from the process. No need to worry about that.
Aagorushkin6/4/2023
Alright, thank you! Yeah, that was my main concern - I always close my files manially, so I was just wondering what happens if a crash occurs

Looking for more? Join the community!