commit a84920ea80ed7ed7b217f666f2c56b03ee9c1f12
parent 81e3e0db789099dfe3d59ac91df863ed5c6d75f9
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sun, 27 Oct 2024 01:53:30 +0200
fix missing capture of "this"
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/jucePluginLib/processor.cpp b/source/jucePluginLib/processor.cpp
@@ -128,7 +128,7 @@ namespace pluginLib
msg += "\n\n" + std::string("[Debug] Host ") + host.toStdString() + "\n\n";
#endif
}
- juce::Timer::callAfterDelay(2000, [msg]
+ juce::Timer::callAfterDelay(2000, [this, msg]
{
juce::NativeMessageBox::showMessageBoxAsync(juce::AlertWindow::WarningIcon,
"Device Initialization failed", msg, nullptr,