Mir

Comment 2 for bug 1441620

Revision history for this message
Alexandros Frantzis (afrantzis) wrote : Re: [testsfail] failure in CI on SimpleDispatchThreadTest.keeps_dispatching_after_signal_interruption

The cause of the problem is that ~SimpleDispatchThread() detaches the event loop thread when it is called from within that thread. The detached thread will be destroyed at an arbitrary point in the future. In some cases the thread is not yet destroyed when the process is forked in the next test (keeps_dispatching_after_signal_interruption), so valgrind assumes that we have leaked its memory.