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

Method OnDestroy

src/render/plugin_interface/gr_plugin_context.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ExitMethod · 0.45

Tested by

no test coverage detected