You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
void operator()(F f) const {
// --> The existence of the application instance should be checked
if (auto* app = QCoreApplication::instance()) {
auto event = std::make_unique<executor_event>();
event->set_task(std::move(f));
auto receiver = event->receiver();
QCoreApplication::postEvent(receiver, event.release());
}
}
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: