Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
ASSERT: "copy" in file thread\qmutex.cpp, occurs when I close the program.
Aaron Kim last edited by
I searched and I found that this assert occurs when it fails to lock a mutex.
I suppose that this happens because it tries to lock a mutex even after I close the program.
How can I prevent this?
@Aaron-Kim You'll have to share some code for us to help with this.
Also it would be nice to share the backtrace of the crash/assert.
It isn't normal behavior for Qt to lock a mutex while an app is closing. So that means somewhere in your code a mutex is being locked probably after the event loop is closed or something like that. Again you'd have to share code for us to help.