---------------------------
Microsoft Visual C++ Runtime Library
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x13c8988. Receiver '' (of type 'Worker') was created in thread 0x0x1135d14", file kernel\qcoreapplication.cpp, line 589
QWaitCondition: Destroyed while threads are still waiting
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 14107a98. Receiver '' (of type 'QNetworkAccessManager') was created in thread 32a48", file kernel\qcoreapplication.cpp, line 505
第一个是 我在子线程中 发送 信号A到 mainwindow中 emit signal_Main_Transmit
Main 中使用 一个timer 来设置弹窗停留时间 到时就调用close timerevent 关闭窗口.
当弹窗显示时间片到时,切换到子线程中, 子线程中会继续发送信号A到 mainwindow中 , timer-> start()
而之前弹窗 timerevent 还没有终止, close timere