Open this page in the API Guide

Dockable.dispose Method

Performs tasks associated with releasing resources from this object once it is unneeded.