This commit is contained in:
parent
3d757e00f2
commit
6a65e43ca9
10 changed files with 353 additions and 104 deletions
|
|
@ -101,8 +101,7 @@ pub async fn host(
|
|||
};
|
||||
|
||||
let incoming_tx = incoming_tx.clone();
|
||||
let policy = policy.clone();
|
||||
tokio::spawn(handle_connection(connection, incoming_tx, policy));
|
||||
tokio::spawn(handle_connection(connection, incoming_tx, policy.clone()));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue