Ignore:
Timestamp:
08/11/23 14:47:06 (9 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Various minor bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r1097 r1099  
    124124    def finalize(self):
    125125        """Close the browser and release it."""
    126         self._browser.CloseBrowser()
    127         self._browser = None
     126        if self._browser is not None:
     127            self._browser.CloseBrowser(True)
     128            self._browser = None
    128129
    129130    def _onLoadEnd(self, browser, frame, http_code):
Note: See TracChangeset for help on using the changeset viewer.