diff options
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r-- | src/qt/splashscreen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 50fe8eb28b..bd63d6e7fb 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -139,10 +139,12 @@ void SplashScreen::setNode(interfaces::Node& node) assert(!m_node); m_node = &node; subscribeToCoreSignals(); + if (m_shutdown) m_node->startShutdown(); } void SplashScreen::shutdown() { + m_shutdown = true; if (m_node) m_node->startShutdown(); } |