aatxe / irc

the irc crate – usable, async IRC for Rust
Mozilla Public License 2.0
526 stars 100 forks source link

file descriptor leak #183

Closed thepixelmonk closed 4 years ago

thepixelmonk commented 4 years ago

Making an irc connection seems to create a few dangling file descriptors that aren't cleaned up when the thread closes as far as I can tell. Could be an issue for long-running programs like mine that manage many irc connections at once, and reconnect as needed. My file descriptor count just keeps slowly increasing.

aatxe commented 4 years ago

Can you clarify which style of API you're using? This sounds like you're using the older API anyway, which will eventually go away when tokio 0.2 is finally released (see: #182 and #184).

thepixelmonk commented 4 years ago

Yeah older api.

aatxe commented 4 years ago

The next release wouldn't support the old API. So, I'm marking this as won't fix.