diff --git a/src/Beutl/ViewModels/EditViewModel.cs b/src/Beutl/ViewModels/EditViewModel.cs index 9d7cf9809..12a1ced53 100644 --- a/src/Beutl/ViewModels/EditViewModel.cs +++ b/src/Beutl/ViewModels/EditViewModel.cs @@ -714,10 +714,7 @@ private sealed class KnownCommandsImpl(Scene scene, EditViewModel viewModel) : I public ValueTask OnSave() { scene.Save(scene.FileName); - foreach (Element element in scene.Children) - { - element.Save(element.FileName); - } + Parallel.ForEach(scene.Children, item => item.Save(item.FileName)); viewModel.SaveState(); return ValueTask.FromResult(true);