From c58f5dbdd51235575eeaaef21be217865c659249 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Thu, 11 Jul 2024 00:44:17 +0200 Subject: [PATCH] fix missing Arc import --- src/server/capture_task.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/capture_task.rs b/src/server/capture_task.rs index 5037e02..16e8e9f 100644 --- a/src/server/capture_task.rs +++ b/src/server/capture_task.rs @@ -1,6 +1,6 @@ use anyhow::{anyhow, Result}; use futures::StreamExt; -use std::{collections::HashSet, net::SocketAddr}; +use std::{collections::HashSet, net::SocketAddr, sync::Arc}; use tokio_util::sync::CancellationToken; use tokio::{ @@ -33,7 +33,7 @@ pub fn new( backend: Option, server: Server, sender_tx: Sender<(Event, SocketAddr)>, - timer_notify: Notify, + timer_notify: Arc, release_bind: Vec, cancellation_token: CancellationToken, ) -> Result<(JoinHandle>, Sender), CaptureCreationError> {