MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / ClientPluginContext

Method ClientPluginContext

src/client/plugin_interface/ct_plugin_context.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11
12 ClientPluginContext::ClientPluginContext(const std::string& plugin_name) {
13 work_thread_ = Thread::Make(plugin_name, 1024 * 1024 * 10);
14 work_thread_->Poll();
15
16 timer_ = std::make_shared<asio2::timer>();
17 }
18
19 void ClientPluginContext::OnDestroy() {
20 if (work_thread_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected