settings dialog works now and reloads the session properly
This commit is contained in:
parent
e4543e1ba2
commit
9cbe16b387
13 changed files with 123 additions and 49 deletions
|
|
@ -16,7 +16,9 @@ async fn main() -> anyhow::Result<()> {
|
|||
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
let dht = DhtBuilder::new().await.context("error initializing DHT")?;
|
||||
let (dht, worker) = DhtBuilder::new().await.context("error initializing DHT")?;
|
||||
tokio::spawn(worker);
|
||||
|
||||
let mut stream = dht.get_peers(info_hash, None)?;
|
||||
|
||||
let stats_printer = async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue