#NEWLINE# def onExit( self , o , **kw ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# symtable = self . _larch . symtable #NEWLINE# ( symtable . has_group ( MODNAME ) , self . symname ) #NEWLINE# if symtable . has_group ( MODNAME ) : #NEWLINE# #INDENT# symtable . del_symbol ( self . symname ) #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# if ( self . window in IMG_DISPLAYS ) : #NEWLINE# #INDENT# IMG_DISPLAYS . pop ( self . window ) #NEWLINE# #UNINDENT# self . Destroy ( )