Benedicht / BestHTTP-Issues

Issue tracking repo for the Best HTTP and all related Unity plugins.
https://assetstore.unity.com/publishers/4137
12 stars 1 forks source link

If Dispose HTTPRequest before its completion or Abort, we get an Exception error. #191

Closed tsroman closed 6 months ago

tsroman commented 7 months ago

I think the Dispose method should Abort() HTTPRequest automatically

Benedicht commented 6 months ago

As noted in https://github.com/Benedicht/BestHTTP-Issues/issues/189 you shouldn't even call Dispose() manually. Abort is a different function because the processing cancellation takes time and some resources can be freed safely only when it's finished.