Styling improvements

This commit is contained in:
watsonb8
2019-12-01 16:14:36 -08:00
parent b60f2a4f47
commit 89d7d65d8d
7 changed files with 23 additions and 15 deletions

View File

@ -140,7 +140,7 @@ namespace Aurora.Services.ClientService
public void StopEvents()
{
if (!_eventCancellationTokenSource.IsCancellationRequested)
if (_eventCancellationTokenSource != null && !_eventCancellationTokenSource.IsCancellationRequested)
{
_eventCancellationTokenSource.Cancel();
}