Fix race condition with async callresults

This commit is contained in:
MadrMan 2020-08-16 11:55:43 +02:00
parent 950b256c27
commit 384cbf6b4c

View File

@ -35,7 +35,10 @@ namespace Steamworks
/// </summary>
public void OnCompleted( Action continuation )
{
Dispatch.OnCallComplete<T>( call, continuation, server );
if (IsCompleted)
continuation();
else
Dispatch.OnCallComplete<T>(call, continuation, server);
}
/// <summary>