mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 12:18:31 -04:00
heap alloc WireGuardTunnel::consume_task() future
This commit is contained in:
parent
aef90a5c0c
commit
cea343c2c9
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ pub async fn start_tunnels(config: Config, bus: Bus) -> anyhow::Result<()> {
|
||||||
{
|
{
|
||||||
// Start consumption task for WireGuard
|
// Start consumption task for WireGuard
|
||||||
let wg = wg.clone();
|
let wg = wg.clone();
|
||||||
tokio::spawn(async move { wg.consume_task().await });
|
tokio::spawn(Box::pin(async move { wg.consume_task().await }));
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue