D23801: Port kpac from QtScript

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Thu Oct 31 13:38:33 GMT 2019


kossebau added inline comments.

INLINE COMMENTS

> carewolf wrote in script.cpp:316
> Invokables can be called asynchronously (queued), if you take a reference and the isn't evaluated immediatly the reference might be invalid by the time the call is evaluated.

With queued signals, any const-reference arguments are passed via an internal value-copy IIRC, so references are not out-dated.
Can the same technique not be expected with any usages of invocables, like from scripting engines?

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D23801

To: carewolf, dfaure
Cc: kossebau, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191031/c0f37038/attachment.html>


More information about the Kde-frameworks-devel mailing list