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

Arjen Hiemstra <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libksysguard/-/commit/53
                   |                            |753cf29ffcbfb56ecbcabf361af
                   |                            |23b469609e6
         Resolution|---                         |FIXED

--- Comment #2 from Arjen Hiemstra <[email protected]> ---
Git commit 53753cf29ffcbfb56ecbcabf361af23b469609e6 by Arjen Hiemstra.
Committed on 09/08/2025 at 11:03.
Pushed by ahiemstra into branch 'master'.

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.

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/53753cf29ffcbfb56ecbcabf361af23b469609e6

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

Reply via email to