Handles correctly the case of null IdleLoop handler.

This commit is contained in:
Paulo Rogerio Panhoto 2018-01-17 15:41:53 -02:00
parent 4ca8b9568c
commit 15163c534f

View file

@ -128,7 +128,7 @@ namespace TLSharp.Core
}
finally
{
IdleLoop(this);
IdleLoop?.Invoke(this);
}
}
}