mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Update MediaDumpViewModel to use fire-and-forget pattern for async methods
This commit is contained in:
@@ -420,7 +420,7 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
|
||||
if(!value) return;
|
||||
|
||||
if(_outputPrefix != null) CheckResumeFileAsync().GetAwaiter().GetResult();
|
||||
if(_outputPrefix != null) _ = CheckResumeFileAsync();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -476,8 +476,7 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
|
||||
// ReSharper restore AssignmentIsFullyDiscarded
|
||||
GetMessageBoxStandard(UI.Title_Error, UI.Incorrect_metadata_sidecar_file, ButtonEnum.Ok, Icon.Error)
|
||||
.ShowWindowDialogAsync(_view)
|
||||
.Result;
|
||||
.ShowWindowDialogAsync(_view);
|
||||
|
||||
ExistingMetadata = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user