mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Added integration to deskmetrics
This commit is contained in:
@@ -23,16 +23,16 @@ namespace NzbDrone.Core.Providers
|
||||
|
||||
public virtual void Checkpoint()
|
||||
{
|
||||
if (_deskMetricsClient.Started)
|
||||
{
|
||||
_deskMetricsClient.Stop();
|
||||
}
|
||||
|
||||
if (EnviromentProvider.IsNewInstall)
|
||||
{
|
||||
_deskMetricsClient.RegisterInstall();
|
||||
}
|
||||
|
||||
if (_deskMetricsClient.Started)
|
||||
{
|
||||
_deskMetricsClient.Stop();
|
||||
}
|
||||
|
||||
_deskMetricsClient.Start();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user