From 5baf14594331b1b0b60d655240eb398bcce61f7c Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 21 Mar 2024 12:28:47 +0100 Subject: core: minor modification to TaskGroup api --- p2p/src/peer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/src/peer') diff --git a/p2p/src/peer/mod.rs b/p2p/src/peer/mod.rs index 1fc5ccf..ca68530 100644 --- a/p2p/src/peer/mod.rs +++ b/p2p/src/peer/mod.rs @@ -76,7 +76,7 @@ impl Peer { remote_endpoint, conn_direction, protocol_events: EventSys::new(), - task_group: TaskGroup::new(ex), + task_group: TaskGroup::with_executor(ex), stop_chan: channel::bounded(1), }) } -- cgit v1.2.3