Call the POP3 fake server thread's quit() method directly
Using invoke method makes no sense as the QThread object always lives in the parent (=main) thread, which means the message will get dispatched to the current thread's event loop anyway. Since that event loop will be blocked by the subsequent wait() call the message will never reach the fake server thread. Instead just call the method directly.
parent
ed251f17
Please register or sign in to comment