Merge pull request #2606 from gavinandresen/threadfix
Exit cleanly if AppInit2 returns false
This commit is contained in:
@@ -282,6 +282,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
threadGroup.interrupt_all();
|
||||
threadGroup.join_all();
|
||||
Shutdown();
|
||||
return 1;
|
||||
}
|
||||
} catch (std::exception& e) {
|
||||
|
||||
Reference in New Issue
Block a user