Open magpier84 opened 1 year ago
Looks like problem with default_executor (on version 1.6.2)
Is it an assert? If you are using default_executor
requires a call to pre_exit()
prior to exiting the application. https://stlab.cc/libraries/concurrency/default_executor.hpp/
Sorry, a little bit details here:
libdispatch
)serial_queue
queue([](){...}).then(main_executor([](){...});
default_executor
in stack traceexecutor_event
, application instance is NULL
executor_event() : QEvent(QEvent::User), _receiver(new event_receiver()) {
_receiver->moveToThread(QCoreApplication::instance()->thread());
}
So, the issue can be solved either by checking the application's existence or preventing its deletion. For the second case, it seems pre_exit
should help, right?
There is a crash on the application exit with main_executor for Qt. Solved by checking application existence. Or there is any way to cancel the task?