Unsolved 5.9 update slows application exit
-
Hello.
I use QOpenGLWidget in the application I'm working on. Since the 5.9 update, the application takes ages to exit and free memory. It used to be instantaneous in 5.8. The problem seems to be the QOpenGLWidget destruction.
Any suggestions/ideas to help ?
Thanks.
-
Hi and welcome to devnet,
One thing you can do is try to find the hot path when your application exit to see why it's slowing down.
-
@SGaist said in 5.9 update slows application exit:
One thing you can do is try to find the hot path when your application exit to see why it's slowing down.
Hello and thanks for the answer. What do you mean by "hot path ?" And how can you find it ?
-
The problem seems to be linked to the number of VAO (QOpenGLVertexArrayObject) created, even if there is no binding nor allocation. Using the destroy() function does not change anything. To me, the 5.9 update introduces a new way of cleaning up VAO but I can't find the changes to make in order to have the previous behaviour (5.8).
-
Did you took a look at the release files in the
dist
subfolder ?