Hello, Let's suppose we have an object A with slot AA living in thread AAA.
Let's suppose we have an object B with signal BB living in thread BBB. Let's suppose we've created a direct signal/slot connection from BB to AA. Question: is it possible that BB can call AA after it was destroyed? I mean race condition bug (we have 2 threads). I.e. is connection 100% always destroyed before A is destroyed? Well, it seems I just understood. BBB see the connection and starts calling AA. Then, CPU switch occurs. Thread BBB suspended and AAA resuming. AAA destroys A. Then BBB resuming and continues to call AA. And we get a crash. Am I right here?
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest