Referring to the solution code reported here
How to run a timer inside a QThread?
it is not mentioned if one could encounter sigsev error in case the main (gui) thread is closed (with the X button for example).
My question is how should i handle (if should i handle it in first place) the termination of the second thread in case the GUI thread is terminated?
In case the data/events are not anymore relevant once the GUI termination has been issued can i just
m_thread->terminate();
in the MainWindow destructor or in the overridden CloseEvent()??
In case the data/events are relevant instead?