Skip to content

Commit

Permalink
fix missing capture of "this"
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp56300 committed Oct 26, 2024
1 parent 81e3e0d commit a84920e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/jucePluginLib/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a84920e

Please sign in to comment.