Skip to content

Not a clean shutdown in examples, when closing app while browser is still loading a website #282

@cztomczak

Description

@cztomczak

Steps to reproduce:

  1. Type "test" in Google
  2. Load speed test website
  3. Close app while it's still loading
  4. Error in logs occurs:
[CEF Python] ERROR: Shutdown called, but there are still browser references alive

It doesn't reproduce every time. Issue occurs in all examples.

I will try to fix this by always forcing shutdown of browsers and then run message loop work for at least 0.2 sec. Currently it runs for 0.1 sec. Issue also occurs in hello_world.py which uses MessageLoop(), but looks like calling some message loop work here is also required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions