Discard MiniProfiler results when not in debug mode
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Umbraco.Web.Profiling
|
||||
if (isBootRequest)
|
||||
_provider.EndBootRequest();
|
||||
if (isBootRequest || ShouldProfile(sender))
|
||||
Stop();
|
||||
Stop(!GlobalSettings.DebugMode);
|
||||
}
|
||||
|
||||
private bool ShouldProfile(object sender)
|
||||
|
||||
Reference in New Issue
Block a user