Skip to content

Exception "CefBrowser was destroyed" on exit when closing browser immediately during initial loading #454

@cztomczak

Description

@cztomczak

Reproducible in gtk2.py example on Windows. Error:

Traceback (most recent call last):
  File "..\examples\gtk2.py", line 176, in on_exit
    self.browser.CloseBrowser(True)
  File "browser.pyx", line 330, in cefpython_py27.PyBrowser.CloseBrowser
  File "browser.pyx", line 341, in cefpython_py27.PyBrowser.CloseBrowser
  File "browser.pyx", line 185, in cefpython_py27.PyBrowser.GetCefBrowserHost
  File "browser.pyx", line 180, in cefpython_py27.PyBrowser.GetCefBrowser
Exception: PyBrowser.GetCefBrowser() failed: CefBrowser was destroyed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions