mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Make it easier to insert code between when the server is setup and when it's started.
This commit is contained in:
@@ -81,7 +81,7 @@ void sigIntHandler(int)
|
||||
}
|
||||
#endif
|
||||
|
||||
void Application::run()
|
||||
void Application::setup()
|
||||
{
|
||||
#ifndef WIN32
|
||||
#ifdef SIGINT
|
||||
@@ -256,7 +256,10 @@ void Application::run()
|
||||
}
|
||||
else
|
||||
mNetOps.setStateTimer();
|
||||
}
|
||||
|
||||
void Application::run()
|
||||
{
|
||||
mIOService.run(); // This blocks
|
||||
|
||||
if (mWSPublicDoor)
|
||||
|
||||
Reference in New Issue
Block a user