Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unload() {
- if ( this.panel ) {
- this.panel.uninitialize();
- delete this.panel;
- this.panel = null;
- }
- if ( this.subToolbar ) {
- this.viewer.toolbar.removeControl( this.subToolbar );
- delete this.subToolbar;
- this.subToolbar = null;
- }
- return true;
- }
Add Comment
Please, Sign In to add comment