From 87aaf78a97b51ad94450e816831914893d8d36e2 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Wed, 4 Jun 2014 19:22:14 -0400 Subject: [PATCH] Do not close input accessor since we may need to read from it later --- .../Pages/EditorPage.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Pages/EditorPage.cs b/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Pages/EditorPage.cs index f590d400..92ce214f 100644 --- a/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Pages/EditorPage.cs +++ b/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Pages/EditorPage.cs @@ -283,7 +283,10 @@ namespace UniversalEditor.UserInterface.WindowsForms.Pages } finally { - d.InputAccessor.Close(); + // do not close input accessor since we may need to read from it later (i.e. if + // it's a FileSystemObjectModel with deferred file data loading) + + // d.InputAccessor.Close(); } }