Update Entrypoint.cs

This commit is contained in:
rlauuzo 2024-04-16 19:17:35 +02:00 committed by GitHub
parent 0c967180f6
commit 34c4e6eaab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -301,7 +301,6 @@ public class Entrypoint : IServerEntryPoint
}
Plugin.Instance!.Configuration.PathRestrictions.Clear();
Plugin.Instance!.AnalyzerTaskIsRunning = false;
_autoTaskCompletEvent.Set();
_cancellationTokenSource = null;
@ -324,7 +323,6 @@ public class Entrypoint : IServerEntryPoint
{
if (!_cancellationTokenSource.IsCancellationRequested)
{
Plugin.Instance!.Configuration.PathRestrictions.Clear();
_cancellationTokenSource.Cancel();
}