diff --git a/src/plugins/score-lib-device/Device/Protocol/DeviceInterface.cpp b/src/plugins/score-lib-device/Device/Protocol/DeviceInterface.cpp index dd2e2af178..e01060e127 100644 --- a/src/plugins/score-lib-device/Device/Protocol/DeviceInterface.cpp +++ b/src/plugins/score-lib-device/Device/Protocol/DeviceInterface.cpp @@ -14,11 +14,13 @@ #include #include +#include #include #include #include +#include #include #include @@ -969,7 +971,8 @@ void DeviceInterface::addressCreated(const ossia::net::parameter_base& addr) State::Address currentAddress = ToAddress(addr.get_node()); Device::AddressSettings as = ToAddressSettings(addr.get_node()); pathUpdated(currentAddress, as); - setListening(currentAddress, true); + ossia::qt::run_async( + qApp, [this, addr = currentAddress] { setListening(addr, true); }); } void DeviceInterface::addressUpdated(