MCPcopy Create free account
hub / github.com/ElementsProject/elements / shutdown

Method shutdown

src/qt/initexecutor.cpp:57–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void 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}

Callers

nothing calls this directly

Calls 2

ObjectInvokeFunction · 0.85
appShutdownMethod · 0.80

Tested by

no test coverage detected