agorushkin12mo ago question

Does, when the process terminate, deno close the files if they were opened with
2 Replies
Hexagon12mo ago
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.
agorushkin12mo ago
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