Skip to content

Commit

Permalink
Remove unnecessary sleep in live device stopCapture (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos authored Nov 30, 2023
1 parent 8d04e18 commit 048cc9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Pcap++/src/PcapLiveDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@ void PcapLiveDevice::stopCapture()
PCPP_LOG_DEBUG("Stats thread stopped for device '" << m_Name << "'");
}

multiPlatformSleep(1);
m_StopThread = false;
}

Expand Down

0 comments on commit 048cc9b

Please sign in to comment.