[PATCH] components/sessionprivate: fix a potential crash in SessionsModel
The problem is that std::function is passed by reference instead of
copy, which might become dangling in the finished slot.
(cherry picked from commit
3ed6ee211bbad1f5d76afa1f30844bebad17bed4)
Co-authored-by: Fushan Wen <qydwhotmail@gmail.com>
(cherry picked from commit
995b597b24ca96aaea81f71781de8ddf60adf5e1)
Co-authored-by: Fushan Wen <qydwhotmail@gmail.com>
Gbp-Pq: Name upstream_72719edd_components-sessionprivate-fix-a-potential-crash-in-SessionsModel.patch