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

Method OnDestroy

src/client/plugin_interface/ct_plugin_context.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 void ClientPluginContext::OnDestroy() {
20 if (work_thread_) {
21 work_thread_->Exit();
22 }
23 if (timer_) {
24 timer_->stop_all_timers();
25 }
26 }
27
28 void ClientPluginContext::PostWorkTask(std::function<void()>&& task) {
29 if (work_thread_) {

Callers 1

ReleaseAllPluginsMethod · 0.45

Calls 1

ExitMethod · 0.45

Tested by

no test coverage detected