Index: src/DeltaShell/DeltaShell.Gui/DeltaShellGui.cs =================================================================== diff -u -r22ecee6c202a4fc87caa5b5fa30f472ad721e198 -rda53d965c969b482adbcccea7962ccd477d51fe6 --- src/DeltaShell/DeltaShell.Gui/DeltaShellGui.cs (.../DeltaShellGui.cs) (revision 22ecee6c202a4fc87caa5b5fa30f472ad721e198) +++ src/DeltaShell/DeltaShell.Gui/DeltaShellGui.cs (.../DeltaShellGui.cs) (revision da53d965c969b482adbcccea7962ccd477d51fe6) @@ -269,11 +269,6 @@ { log.Info(Resources.DeltaShellGui_Run_Starting_application____); - if (!GetType().Assembly.Location.ToLower().Contains("test")) // HACK: make sure it is sync in tests - { - DeltaShellApplication.TemporaryProjectSavedAsynchroneously = true; - } - application.Run(); } @@ -283,7 +278,7 @@ log.Info(Resources.DeltaShellGui_Run_Waiting_until_new_project_is_initialized____); - while (!DeltaShellApplication.TemporaryProjectSaved || Application.Plugins.Any(p => !p.IsActive)) + while (Application.Plugins.Any(p => !p.IsActive)) { Thread.Sleep(50); splashScreen.Dispatcher.Invoke(DispatcherPriority.Render, new Action(() => { })); @@ -293,8 +288,6 @@ runFinished = true; - DeltaShellApplication.TemporaryProjectSavedAsynchroneously = false; - if (AfterRun != null) { AfterRun(); @@ -627,8 +620,6 @@ private void ApplicationProjectOpened(Project project) { - Application.Project.IsChanged = false; - ResumeUI(); }