From 6fa0c5b41b3bd49c9ec056738d8624be7072a171 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Mon, 13 Feb 2023 19:02:13 +0100 Subject: [PATCH] feat(pcap): clear connections and clients after PcapNostaleManager is closed --- Pcap/NosSmooth.Pcap/PcapNostaleManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pcap/NosSmooth.Pcap/PcapNostaleManager.cs b/Pcap/NosSmooth.Pcap/PcapNostaleManager.cs index 1d822ea..a28dddb 100644 --- a/Pcap/NosSmooth.Pcap/PcapNostaleManager.cs +++ b/Pcap/NosSmooth.Pcap/PcapNostaleManager.cs @@ -120,6 +120,8 @@ public class PcapNostaleManager task?.GetAwaiter().GetResult(); task?.Dispose(); + _connections.Clear(); + _clients.Clear(); } /// -- 2.49.0