fix: use setLayerPortName() instead of direct member access
Browse files- Source/Helper/main.cpp +1 -2
Source/Helper/main.cpp
CHANGED
|
@@ -35,11 +35,10 @@ public:
|
|
| 35 |
|
| 36 |
DBG("HelperApplication: Starting for parent PID " + juce::String(parentPid));
|
| 37 |
|
| 38 |
-
// Set the layer port name based on parent PID
|
| 39 |
auto portName = juce::String(IPC::getLayerPortName(parentPid));
|
| 40 |
|
| 41 |
pluginHost = std::make_unique<HelperPluginHost>();
|
| 42 |
-
pluginHost->
|
| 43 |
|
| 44 |
ipcServer = std::make_unique<HelperIPC>(parentPid, *pluginHost);
|
| 45 |
|
|
|
|
| 35 |
|
| 36 |
DBG("HelperApplication: Starting for parent PID " + juce::String(parentPid));
|
| 37 |
|
|
|
|
| 38 |
auto portName = juce::String(IPC::getLayerPortName(parentPid));
|
| 39 |
|
| 40 |
pluginHost = std::make_unique<HelperPluginHost>();
|
| 41 |
+
pluginHost->setLayerPortName(portName);
|
| 42 |
|
| 43 |
ipcServer = std::make_unique<HelperIPC>(parentPid, *pluginHost);
|
| 44 |
|