Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cefsrc: fix CefInitialize crashing the second time #90

Merged
merged 1 commit into from
Oct 14, 2024

Commits on Oct 4, 2024

  1. cefsrc: fix CefInitialize crashing the second time

    Calling CefInitialize multiple times during a process lifetime is not
    supported:
    
    * https://magpcss.org/ceforum/viewtopic.php?f=6&t=16430
    * https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=466
    * https://stackoverflow.com/questions/73172139/cef-can-only-be-initialized-once-per-process-this-is-a-limitation-of-the-underl
    
    Prior to #83 we used to have a ShutdownEnforcer class, but as it
    was causing issues on OSX we will simply no longer shut down CEF at
    all.
    
    We can revisit if needed, but this is preferable to crashing.
    
    See #88 (comment)
    and below
    MathieuDuponchelle committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6f6b49d View commit details
    Browse the repository at this point in the history