This commit is contained in:
Felix Ableitner 2024-05-30 10:51:12 +02:00
parent 4aea0aea32
commit d0b4f5a6f7

View file

@ -64,7 +64,7 @@ impl CancellableTask {
) -> CancellableTask
where
F: Future<Output = R> + Send + 'static,
R: Send + 'static,
R: Send + Debug + 'static,
{
let stop = CancellationToken::new();
let stop2 = stop.clone();