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

Reply via email to