fix: prevent NullReferenceException in TimeoutController
parent
f48cb4b03e
commit
9b9a4ec76a
|
@ -109,7 +109,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// stop timer.
|
// stop timer.
|
||||||
timer.Dispose();
|
timer?.Dispose();
|
||||||
|
|
||||||
// cancel and dispose.
|
// cancel and dispose.
|
||||||
timeoutSource.Cancel();
|
timeoutSource.Cancel();
|
||||||
|
|
Loading…
Reference in New Issue