util: Add SignalInterrupt class and use in shutdown.cpp
This change helps generalize shutdown code so an interrupt can be provided to libbitcoinkernel callers. This may also be useful to eventually de-globalize all of the shutdown code. Co-authored-by: Russell Yanofsky <russ@yanofsky.org> Co-authored-by: TheCharlatan <seb.kung@gmail.com>
This commit is contained in:
1 parent
d9c7c2fd3e
commit
e2d680a32d
10 files changed
+175
-65
No files matched your search
@@ -86,7 +86,6 @@ void AppTests::appTests()
|
||||
|
||||
// Reset global state to avoid interfering with later tests.
|
||||
LogInstance().DisconnectTestLogger();
|
||||
AbortShutdown();
|
||||
}
|
||||
|
||||
//! Entry point for BitcoinGUI tests.
|
||||
|
||||
Reference in new issue
Block a user