- Home /
Question by
E-Reg · Apr 20, 2021 at 08:56 PM ·
wwwwebrequest
Does UnityWebRequest.Abort also dispose the request?
When using Abort right before Dispose I receive a
System.ArgumentNullException : Value cannot be null.
Parameter name: _unity_self
public void Cancel()
{
_canceled = true;
if (_request != null)
{
_request.Abort();
_request.Dispose();
}
}
Is the disposal of the request included in the abortion?
Comment