mirror of https://github.com/Cysharp/UniTask
fix: prevent NullReferenceException in TimeoutController
parent
9b9a4ec76a
commit
daa0c7b9a0
|
@ -99,7 +99,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
|
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
timer.Stop();
|
timer?.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
|
Loading…
Reference in New Issue