graesslin added inline comments.
> roberts wrote in plasmawindowmanagement_interface.cpp:406
> Is there anything protecting this from being unsynchronised parallel access
> to m_icon (and p)?
> Simplest solution might be passing the icon by value into the lambda.
I assumed that reading from the icon is thread save. But you are right: better
save than sorry. Especially accessing the p pointer could be dangerous as the
PlasmaWindowInterface instance might get deleted.
To: graesslin, #plasma_on_wayland, hein
Cc: roberts, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts,