MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / stop

Method stop

src/server/server.cpp:516–527  ·  view source on GitHub ↗

@brief stop

Source from the content-addressed store, hash-verified

514
515///@brief stop
516void WebServer::stop() {
517 running = false;
518 ioc.stop();
519
520 // Wait for all I/O threads to finish
521 for (auto& thread : io_threads_) {
522 if (thread.joinable()) {
523 thread.join();
524 }
525 }
526 io_threads_.clear();
527}
528
529///@brief register active request
530///@param request_id the request ID

Callers 15

insertMethod · 0.45
generateMethod · 0.45
insertMethod · 0.45
insertMethod · 0.45
generateMethod · 0.45
insertMethod · 0.45
generateMethod · 0.45
insertMethod · 0.45
insertMethod · 0.45
_shared_insertMethod · 0.45
_shared_generateMethod · 0.45
stop_ttft_timerMethod · 0.45

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected