* Destroys the loaded resource. * * Once an object is destroyed, it should not be used; calling any function other than * isDestroyed will result in a DeveloperError exception. Therefore, * assign the return value ( undefined ) to the object
()
| 110 | * @private |
| 111 | */ |
| 112 | destroy() { |
| 113 | this.unload(); |
| 114 | return destroyObject(this); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | export default ResourceLoader; |
no test coverage detected