[GUI] Update MediaDumpViewModel to use fire-and-forget pattern for async methods

This commit is contained in:
2025-11-20 14:20:29 +00:00
parent f86a354aa0
commit 5a9b25986a

View File

@@ -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;
}