Important: Please read the Qt Code of Conduct -

Issue with shared resource management

  • In a desktop application there is a case when user can refer to a shared resource (image) when that resource is attached to another process which is not finished. In that case the resource should be detached, but after detaching the application crashes, probably because the other process still uses it and that process needs to be finished.
    How can I solve the issue?
    Thanks in advance.

  • Lifetime Qt Champion


    Without any code it's very difficult to say. You could be destroying the resource or changing the pointer to it etc...

Log in to reply