mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-17 06:00:03 +02:00
Add a TODO about mutual recursion
This commit is contained in:
@@ -458,6 +458,9 @@ void ClapBridge::run() {
|
|||||||
-> clap::ext::gui::plugin::CanResize::Response {
|
-> clap::ext::gui::plugin::CanResize::Response {
|
||||||
const auto& [instance, _] = get_instance(request.instance_id);
|
const auto& [instance, _] = get_instance(request.instance_id);
|
||||||
|
|
||||||
|
// TODO: Qtractor calls this in response to request_resize(), so
|
||||||
|
// we need to handle mutual recursion here. We should do
|
||||||
|
// this for all GUI functions just to be safe.
|
||||||
return main_context_
|
return main_context_
|
||||||
.run_in_context([&, plugin = instance.plugin.get(),
|
.run_in_context([&, plugin = instance.plugin.get(),
|
||||||
gui = instance.extensions.gui]() {
|
gui = instance.extensions.gui]() {
|
||||||
|
|||||||
Reference in New Issue
Block a user