view m-toolbox/classes/@workspaceBrowser/cb_guiClosed.m @ 6:2b57573b11c7 database-connection-manager

Add utils.mysql.execute
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% CB_GUICLOSED Closes the GUI.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% CB_GUICLOSED Closes the GUI.
%
% $Id: cb_guiClosed.m,v 1.1 2010/01/22 15:58:41 ingo Exp $
%

function cb_guiClosed(varargin)
  wb = getappdata(0, 'WorkspaceBrowser');
  if ~isempty(wb)
    delete(wb.h1);
    delete(wb.h2);
    delete(wb.h3);
    delete(wb.h4);
    delete(wb.h5);
    delete(wb.h6);
    delete(wb.h7);
    delete(wb.h8);
    delete(wb.h9);
    setappdata(0, 'WorkspaceBrowser', []);
    wb.hdl = [];
    java.lang.System.gc();
    disp('*** Goodbye from WorkspaceBrowser');
  end
  
end