Some effects may release the current context when they tear down, so we
have to make the current context per each unloaded effect.
BUG: 396830
FIXED-IN: 5.15.0
davidedmundson |
KWin |
Some effects may release the current context when they tear down, so we
have to make the current context per each unloaded effect.
BUG: 396830
FIXED-IN: 5.15.0
No longer able to reproduce bug 396830.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Generally makes sense. +++
Some effects may release the current context when they tear down
Out of curiosity, which? I remember searching once.
Oh! I bet it's PresentWindows! It has a QQuickView as a member var.
The non-threaded render loop will have the destructor immediately and that switches contexts.
I just changed my render loop to non-threaded to confirm my theory - which explains why it only affected some people.