MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / ~CardinalRemoteUI

Method ~CardinalRemoteUI

src/CardinalRemote/RemoteUI.cpp:77–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77CardinalRemoteUI::~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
90void CardinalRemoteUI::onNanoDisplay()
91{

Callers

nothing calls this directly

Calls 2

WindowSetPluginRemoteFunction · 0.70
contextGetFunction · 0.50

Tested by

no test coverage detected