Update Entrypoint.cs
This commit is contained in:
parent
0c967180f6
commit
34c4e6eaab
@ -301,7 +301,6 @@ public class Entrypoint : IServerEntryPoint
|
|||||||
}
|
}
|
||||||
|
|
||||||
Plugin.Instance!.Configuration.PathRestrictions.Clear();
|
Plugin.Instance!.Configuration.PathRestrictions.Clear();
|
||||||
Plugin.Instance!.AnalyzerTaskIsRunning = false;
|
|
||||||
_autoTaskCompletEvent.Set();
|
_autoTaskCompletEvent.Set();
|
||||||
_cancellationTokenSource = null;
|
_cancellationTokenSource = null;
|
||||||
|
|
||||||
@ -324,7 +323,6 @@ public class Entrypoint : IServerEntryPoint
|
|||||||
{
|
{
|
||||||
if (!_cancellationTokenSource.IsCancellationRequested)
|
if (!_cancellationTokenSource.IsCancellationRequested)
|
||||||
{
|
{
|
||||||
Plugin.Instance!.Configuration.PathRestrictions.Clear();
|
|
||||||
_cancellationTokenSource.Cancel();
|
_cancellationTokenSource.Cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user