| 75 | } |
| 76 | |
| 77 | CardinalRemoteUI::~CardinalRemoteUI() |
| 78 | { |
| 79 | removeIdleCallback(this); |
| 80 | |
| 81 | // -------------------------------------------------------------------------- |
| 82 | |
| 83 | CardinalPluginContext* const context = static_cast<CardinalPluginContext*>(rack::contextGet()); |
| 84 | |
| 85 | context->nativeWindowId = 0; |
| 86 | |
| 87 | rack::window::WindowSetPluginRemote(context->window, nullptr); |
| 88 | } |
| 89 | |
| 90 | void CardinalRemoteUI::onNanoDisplay() |
| 91 | { |
nothing calls this directly
no test coverage detected