mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-28 00:20:00 -07:00
Discovered in #351 where restart would hang forever. key_input.rs never properly implemented shutdown because it didn't have to do anything interesting on shutdown. Wire up oneshot channels so that it falls in line with other services. I do wonder though if there's a more clever way of handling this. For example I could just not use the task_tracker, use tokio::spawn and let the task get cancelled by tokio.