Upgraded DisposableTimer to wrap the profiler... now we should really just use DisposableTimer for all profiling.

This commit is contained in:
Shannon Deminick
2013-05-13 21:11:03 -10:00
parent b6f52bf782
commit 5890fe1849
10 changed files with 196 additions and 99 deletions

View File

@@ -170,7 +170,7 @@ namespace Umbraco.Core.ObjectResolution
get
{
// ensure we can
if (!CanResolveBeforeFrozen)
if (CanResolveBeforeFrozen == false)
Resolution.EnsureIsFrozen();
// note: we apply .ToArray() to the output of CreateInstance() because that is an IEnumerable that