using 2 event loops in same thread
Locked
Unsolved
General and Desktop
-
-
@BjornW
Thanks @BjornW , I can explain you the use case. There are two instances where I am using event loops.
There is an event loop in the main thread of the application where I am handling the events. Along with this I am sending some metrics to a remote URL(say once every hour), so sending metrics is a background job. I am sending the metrics using QNetworkAccessManager. You can refer this topic for the code: https://forum.qt.io/topic/77972/desktop-app-crashed-when-2-event-loops-are-used .
The event loop used in the topic link above is getting failed. -
Locked, continue in https://forum.qt.io/topic/77972/desktop-app-crashed-when-2-event-loops-are-used please