MCPcopy Create free account
hub / github.com/0xemmkty/QuantMuse / stop

Method stop

backend/src/order_executor.cpp:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void OrderExecutor::stop() {
20 running_ = false;
21 cv_.notify_one();
22
23 if (execution_thread_.joinable()) {
24 execution_thread_.join();
25 }
26 spdlog::info("Order executor stopped");
27}
28
29void OrderExecutor::submitOrder(std::shared_ptr<Order> order) {
30 {

Callers 2

shutdownMethod · 0.45
tearDownMethod · 0.45

Calls

no outgoing calls

Tested by 1

tearDownMethod · 0.36