mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Redesign stoppable object pattern
This commit is contained in:
committed by
manojsdoshi
parent
c10c0be11b
commit
a2a37a928a
@@ -86,7 +86,7 @@ Env::AppBundle::AppBundle(
|
||||
if (!app->setup())
|
||||
Throw<std::runtime_error>("Env::AppBundle: setup failed");
|
||||
timeKeeper->set(app->getLedgerMaster().getClosedLedger()->info().closeTime);
|
||||
app->doStart(false /*don't start timers*/);
|
||||
app->start(false /*don't start timers*/);
|
||||
thread = std::thread([&]() { app->run(); });
|
||||
|
||||
client = makeJSONRPCClient(app->config());
|
||||
|
||||
Reference in New Issue
Block a user