D10250: track the validity of the texture

Marco Martin noreply at phabricator.kde.org
Mon Feb 5 15:37:05 UTC 2018


mart added a comment.


  > However, because it's in a managed texture node, it will get deleted when the node dies.
  >  The node definitely will be killed when you switch window.
  > 
  > *if* that's the case you're hitting, you're guarding the wrong thing, and will need to guard the node not the texture.
  
  the dtor of the node is never hit, even when the window changes, regardless there is a crash or not.
  it seems to be really just the texture being deleted

REPOSITORY
  R296 KDeclarative

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

To: mart, #plasma, davidedmundson
Cc: davidedmundson, broulik, ngraham, plasma-devel, #frameworks, michaelh, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180205/0da2b1a1/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list