Class SwtHtmlContext.BrowserCloseTask

    • Field Detail

      • browser

        protected final org.apache.commons.lang3.mutable.Mutable<org.eclipse.swt.browser.Browser> browser
    • Constructor Detail

      • BrowserCloseTask

        protected BrowserCloseTask​(SwtHtmlContext obj)
        Creates new clean-up for closing the browser of the designated SwtUrlContext.
        Parameters:
        obj - The SwtUrlContext of which to close the browser.
    • Method Detail

      • cleanup

        public void cleanup​(boolean explicit)
        Description copied from interface: CleanupTask
        Performs the actual clean-up. This method is only called by Cleanup and must NOT be called directly!
        Parameters:
        explicit - Whether the clean-up was triggered explicitly via Cleanup.clean(). Otherwise it was triggered implicitly as a post-mortem action by the object becoming phantom reachable.