imageList.dispose ();
Display display = getDisplay (); display.releaseImageList (imageList);
void releaseWidget () {	for (int i=0; i<items.length; i++) {		TreeItem item = items [i];		if (item != null && !item.isDisposed ()) {			item.releaseWidget ();			item.releaseHandle ();		}	}	items = null;	super.releaseWidget ();	if (imageList != null) {		OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_NORMAL, 0);		imageList.dispose ();	} else {		int hOldList = OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_NORMAL, 0);		OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_NORMAL, 0);		if (hOldList != 0) OS.ImageList_Destroy (hOldList);	}	imageList = null;	int hOldList = OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_STATE, 0);	OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_STATE, 0);	if (hOldList != 0) OS.ImageList_Destroy (hOldList);}