| 11 | { |
| 12 | |
| 13 | GrPluginContext::GrPluginContext(const std::string& plugin_name) { |
| 14 | work_thread_ = Thread::Make(plugin_name, 1024 * 1024 * 10); |
| 15 | work_thread_->Poll(); |
| 16 | |
| 17 | timer_ = std::make_shared<asio2::timer>(); |
| 18 | } |
| 19 | |
| 20 | void GrPluginContext::OnDestroy() { |
| 21 | if (work_thread_) { |
nothing calls this directly
no outgoing calls
no test coverage detected