Fixes 28485, umbraco.config constantly being recreated after publish

[TFS Changeset #75277]
This commit is contained in:
hartvig
2010-08-10 09:40:46 +00:00
parent 87a307d43e
commit 17cdc527a3

View File

@@ -1026,6 +1026,11 @@ order by umbracoNode.level, umbracoNode.sortOrder";
Trace.Write(string.Format("Saved content on thread '{0}' in {1} (Threadpool? {2})", Thread.CurrentThread.Name, stopWatch.Elapsed, Thread.CurrentThread.IsThreadPoolThread.ToString()));
Log.Add(LogTypes.Debug, staticUser, -1, string.Format("Xml saved in {0}", stopWatch.Elapsed));
// Clear persistence flag
HttpContext.Current.Application.Lock();
HttpContext.Current.Application[PersistenceFlagContextKey] = null;
HttpContext.Current.Application.UnLock();
}
catch (Exception ee)
{