Styling improvements
This commit is contained in:
@ -140,7 +140,7 @@ namespace Aurora.Services.ClientService
|
||||
|
||||
public void StopEvents()
|
||||
{
|
||||
if (!_eventCancellationTokenSource.IsCancellationRequested)
|
||||
if (_eventCancellationTokenSource != null && !_eventCancellationTokenSource.IsCancellationRequested)
|
||||
{
|
||||
_eventCancellationTokenSource.Cancel();
|
||||
}
|
||||
|
Reference in New Issue
Block a user