File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,11 @@ static const char* FEE_ESTIMATES_FILENAME="fee_estimates.dat";
102
102
// created by AppInit() or the Qt main() function.
103
103
//
104
104
// A clean exit happens when StartShutdown() or the SIGTERM
105
- // signal handler sets fRequestShutdown, which triggers
106
- // the DetectShutdownThread(), which interrupts the main thread group.
107
- // DetectShutdownThread() then exits, which causes AppInit() to
108
- // continue (it .joins the shutdown thread).
109
- // Shutdown() is then
110
- // called to clean up database connections, and stop other
105
+ // signal handler sets fRequestShutdown, which makes main thread's
106
+ // WaitForShutdown() interrupts the thread group.
107
+ // And then, WaitForShutdown() makes all other on-going threads
108
+ // in the thread group join the main thread.
109
+ // Shutdown() is then called to clean up database connections, and stop other
111
110
// threads that should only be stopped after the main network-processing
112
111
// threads have exited.
113
112
//
You can’t perform that action at this time.
0 commit comments