def destroy(self):
        super(Window, self).destroy()
        Window.windows.discard(self)

    #--------------------------------------------------------------------------
    # Public API
    #--------------------------------------------------------------------------
An overridden destructor method.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/window.py/Window.destroy