From 048cc9b010128cb9c6d81b36db234e34a4d25b72 Mon Sep 17 00:00:00 2001 From: "Liu, An-Chi" Date: Thu, 30 Nov 2023 15:48:43 +0900 Subject: [PATCH] Remove unnecessary sleep in live device `stopCapture` (#1247) --- Pcap++/src/PcapLiveDevice.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Pcap++/src/PcapLiveDevice.cpp b/Pcap++/src/PcapLiveDevice.cpp index ab8e69ccdd..2ee315112a 100644 --- a/Pcap++/src/PcapLiveDevice.cpp +++ b/Pcap++/src/PcapLiveDevice.cpp @@ -550,7 +550,6 @@ void PcapLiveDevice::stopCapture() PCPP_LOG_DEBUG("Stats thread stopped for device '" << m_Name << "'"); } - multiPlatformSleep(1); m_StopThread = false; }