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

Method OnDestroy

src/render/plugin_interface/gr_plugin_interface.cpp:170–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 }
169
170 bool GrPluginInterface::OnDestroy() {
171 if (root_widget_) {
172 root_widget_->hide();
173 root_widget_->close();
174 }
175 plugin_context_->OnDestroy();
176 destroyed_ = true;
177 return true;
178 }
179
180 void GrPluginInterface::PostWorkTask(std::function<void()>&& task) {
181 if (plugin_context_ && !stopped_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected