| 55 | } |
| 56 | |
| 57 | void InitExecutor::shutdown() |
| 58 | { |
| 59 | GUIUtil::ObjectInvoke(&m_context, [this] { |
| 60 | try { |
| 61 | qDebug() << "Running Shutdown in thread"; |
| 62 | m_node.appShutdown(); |
| 63 | qDebug() << "Shutdown finished"; |
| 64 | Q_EMIT shutdownResult(); |
| 65 | } catch (const std::exception& e) { |
| 66 | handleRunawayException(&e); |
| 67 | } catch (...) { |
| 68 | handleRunawayException(nullptr); |
| 69 | } |
| 70 | }); |
| 71 | } |
nothing calls this directly
no test coverage detected