https://bugs.kde.org/show_bug.cgi?id=507883

Arjen Hiemstra <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libksysguard/-/commit/53 |ma/libksysguard/-/commit/f5
                   |753cf29ffcbfb56ecbcabf361af |34a5b9d5f2beced22f747b72ca1
                   |23b469609e6                 |10e5917b117

--- Comment #3 from Arjen Hiemstra <[email protected]> ---
Git commit f534a5b9d5f2beced22f747b72ca110e5917b117 by Arjen Hiemstra.
Committed on 11/08/2025 at 08:24.
Pushed by ahiemstra into branch 'Plasma/6.4'.

processcore: Explicitly stop capturing packets on network helper terminate

In some cases, we may end up in a situation where we're terminating with
low or no network traffic. In such a case, we would block indefinitely
since there was no mechanism to notify `Capture::nextPacket()` that we
want to terminate.

This changes things so that we explicitly call `stop()` when the main
thread quits, which closes the pcap source and signals the wait
condition in Capture that we should no longer wait.


(cherry picked from commit 53753cf29ffcbfb56ecbcabf361af23b469609e6)

Co-authored-by: Arjen Hiemstra <[email protected]>

M  +28   -8    processcore/plugins/network/helper/Capture.cpp
M  +2    -0    processcore/plugins/network/helper/Capture.h
M  +2    -0    processcore/plugins/network/helper/main.cpp

https://invent.kde.org/plasma/libksysguard/-/commit/f534a5b9d5f2beced22f747b72ca110e5917b117

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to