Skip to content

Commit

Permalink
Remove last jassert
Browse files Browse the repository at this point in the history
nick-thompson committed Jan 14, 2024
1 parent 1aa8531 commit 0705128
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions native/WebViewEditor.cpp
Original file line number Diff line number Diff line change
@@ -88,8 +88,7 @@ WebViewEditor::WebViewEditor(juce::AudioProcessor* proc, juce::File const& asset
}
#endif

if (eventName == "setParameterValue") {
jassert(args.size() > 1);
if (eventName == "setParameterValue" && args.size() > 1) {
return handleSetParameterValueEvent(args[1]);
}
}

0 comments on commit 0705128

Please sign in to comment.