src/javascript/image/Image.js
function() {
				if (this.ruid) {
					this.getRuntime().exec.call(this, 'Image', 'destroy');
					this.disconnectRuntime();
				}
				if (this.meta && this.meta.thumb) {
					// thumb is blob, make sure we destroy it first
					this.meta.thumb.data.destroy();
				}
				this.unbindAll();
			}
function() {
				if (this.ruid) {
					this.getRuntime().exec.call(this, 'Image', 'destroy');
					this.disconnectRuntime();
				}
				if (this.meta && this.meta.thumb) {
					// thumb is blob, make sure we destroy it first
					this.meta.thumb.data.destroy();
				}
				this.unbindAll();
			}
function ( ) { if ( this . ruid ) { this . getRuntime ( ) . exec . call ( this , 'Image' , 'destroy' ) ; this . disconnectRuntime ( ) ; } if ( this . meta && this . meta . thumb ) { // thumb is blob, make sure we destroy it first this . meta . thumb . data . destroy ( ) ; } this . unbindAll ( ) ; }
Properly destroys the image and frees resources in use. If any. Recommended way to dispose
moxie.image.Image object.

@method destroy
Properly destroys the image and frees resources in use . If any . Recommended way to dispose moxie . image . Image object .