Skip to content

Commit 5864480

Browse files
committed
null check
1 parent 89ff040 commit 5864480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SharedProject/Core/FCCEngine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ protected virtual void Dispose(bool disposing)
347347
{
348348
if (!this.disposed)
349349
{
350-
if (disposing)
350+
if (disposing && cancellationTokenSource != null)
351351
{
352352
cancellationTokenSource.Dispose();
353353
}

0 commit comments

Comments
 (0)