Clears the ImageLoader instance.
ImageLoader.prototype.dispose = function()
dispose(): void;
Dispose does two things:
Because Dispose calls Abort, Dispose is generally preferred when attempting to completely stop and disregard an image request.
Dispose is called internally after Always callbacks are run when the image request completes, if it completes. As noted elsewhere, Done, Fail, and Always will not run if Abort is called.
After Dispose is called, the ImageLoader is completely unusable for image requests.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document