• Per-Morten Straume's avatar
    Dispose of objectsDispose as early as possible · ffecf24a
    Per-Morten Straume authored
    objectsDispose was originally disposed of at the end of the 
    LoadFile function. However, we can dispose of it as soon as the
    MakeFileObjectSoAJob is finished.
    Also added an objectCount variable for clarity, and to avoid using 
    objects.Length after scheduling objectDispose.Dispose.