From 0892c6eee9ab9390b9df40b216b3a1359b013bf9 Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Fri, 6 Oct 2023 22:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=9B=E7=A8=8B=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E9=80=80=E5=87=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnt/src/channel/channel.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vnt/src/channel/channel.rs b/vnt/src/channel/channel.rs index 026cf68..198ac96 100644 --- a/vnt/src/channel/channel.rs +++ b/vnt/src/channel/channel.rs @@ -151,8 +151,8 @@ impl Context { Ordering::Relaxed, guard, ) { - Ok(p) => unsafe { - guard.defer_destroy(p); + Ok(_p) => unsafe { + guard.defer_destroy(udp_map_shared); return; }, Err(e) => { @@ -369,8 +369,8 @@ impl Context { Ordering::Relaxed, guard, ) { - Ok(p) => unsafe { - guard.defer_destroy(p); + Ok(_p) => unsafe { + guard.defer_destroy(table_share); break; }, Err(e) => { @@ -510,8 +510,8 @@ impl Context { Ordering::Relaxed, guard, ) { - Ok(p) => unsafe { - guard.defer_destroy(p); + Ok(_p) => unsafe { + guard.defer_destroy(table_share); self.inner.route_table_time.remove(&(route_key, *id)); return; },