ReadyTalk / avian

[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
https://readytalk.github.io/avian/
Other
1.22k stars 172 forks source link

File Descriptor Leak in NIO #566

Open mretallack opened 5 years ago

mretallack commented 5 years ago

Hi, I known this project is currently inactive, however I am placing this here so others can see.

I have found a file descriptor leak in the NIO accept call. For now I have attached a patch, I am not sure this fix is the correct one, there where a number of options, but this was the least-changed one.

fix-nio-fd-leak.patch.txt