Styling improvements
This commit is contained in:
1 parent
b60f2a4f47
commit
89d7d65d8d
7 files changed
+23
-15
No files matched your search
@@ -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