aatxe / irc

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

best way to shut down reactor? #176

Closed thepixelmonk closed 4 years ago

thepixelmonk commented 5 years ago

what's the best way to manually shut down the reactor? I tried sending client.send_quit(), which does seem to stop that client from receiving new messages, but it seems like the reactor is still running and blocking the thread.

aatxe commented 4 years ago

I'm closing this since the reactor and callback design is going away with tokio 0.2 and the next release of the irc crate.