mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Use Invoke explicitly for delegates
This commit is contained in:
@@ -128,6 +128,7 @@
|
||||
- Avoid unnecessary null checks
|
||||
- Pass options to process user info separately
|
||||
- Use internal options instead of external
|
||||
- Use Invoke explicitly for delegates
|
||||
|
||||
### 3.2.4 (2024-11-24)
|
||||
|
||||
|
||||
@@ -527,7 +527,7 @@ namespace MPF.Frontend
|
||||
if (_options.PromptForDiscInformation && processUserInfo != null)
|
||||
{
|
||||
resultProgress.Report(ResultEventArgs.Success("Waiting for additional disc information..."));
|
||||
bool? filledInfo = processUserInfo(_options, ref submissionInfo);
|
||||
bool? filledInfo = processUserInfo.Invoke(_options, ref submissionInfo);
|
||||
if (filledInfo == true)
|
||||
resultProgress.Report(ResultEventArgs.Success("Additional disc information added!"));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user