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

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-nm/-/commit/ca844 |ma/plasma-nm/-/commit/00390
                   |683ae902fd90614adf888032a60 |c53a12394233ab6b79f94a2408f
                   |47955884                    |e5c8c85a

--- Comment #5 from David Edmundson <[email protected]> ---
Git commit 00390c53a12394233ab6b79f94a2408fe5c8c85a by David Edmundson.
Committed on 30/05/2026 at 10:41.
Pushed by davidedmundson into branch 'Plasma/6.7'.

Avoid use of references across a co_await

It's common practice to pass a reference to a string into a method, even
though copying strings in Qt is extremely fast.

This is only fine for the first invocation, after a co_await it ends up
being a dangling reference. This would crash on the second iteration of
the loop.


(cherry picked from commit ca844683ae902fd90614adf888032a6047955884)

Co-authored-by: David Edmundson <[email protected]>

M  +4    -1    libs/handler.cpp

https://invent.kde.org/plasma/plasma-nm/-/commit/00390c53a12394233ab6b79f94a2408fe5c8c85a

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

Reply via email to