|
|
|
@ -50,6 +50,8 @@ namespace ICSharpCode.UsageDataCollector
@@ -50,6 +50,8 @@ namespace ICSharpCode.UsageDataCollector
|
|
|
|
|
|
|
|
|
|
static void AsyncEnableDisable() |
|
|
|
|
{ |
|
|
|
|
if (System.Diagnostics.Debugger.IsAttached) |
|
|
|
|
return; |
|
|
|
|
if (Enabled) { |
|
|
|
|
Instance.OpenSession(); |
|
|
|
|
} else { |
|
|
|
@ -242,6 +244,8 @@ namespace ICSharpCode.UsageDataCollector
@@ -242,6 +244,8 @@ namespace ICSharpCode.UsageDataCollector
|
|
|
|
|
{ |
|
|
|
|
public override void Run() |
|
|
|
|
{ |
|
|
|
|
if (System.Diagnostics.Debugger.IsAttached) |
|
|
|
|
return; |
|
|
|
|
if (AnalyticsMonitor.Enabled) |
|
|
|
|
AnalyticsMonitor.Instance.OpenSession(); |
|
|
|
|
} |
|
|
|
|