Search Unity

Dispose function in DownloadHandlerScript class

Discussion in 'Editor & General Support' started by ArtyBrest, Mar 2, 2017.

  1. ArtyBrest

    ArtyBrest

    Joined:
    Feb 20, 2014
    Posts:
    10
    Hi.
    I noticed that Dispose function in DownloadHandlerScript class is not virtual. Is it a mistake? Why I can't overload it with my implementation?
    It's impossible to properly use disposeDownloadHandlerOnDispose property from UnityWebRequest class with my own class inherited from DownloadHandlerScript.
    Please fix.
     
  2. ArtyBrest

    ArtyBrest

    Joined:
    Feb 20, 2014
    Posts:
    10
    Is there any chance this will be fixed?
     
  3. billpoole

    billpoole

    Joined:
    Jul 10, 2017
    Posts:
    1
    I agree this is a problem. Please fix.