Skip to content

Fixed integrated browser on Linux (issue #94)#96

Merged
WillyJL merged 1 commit intomainfrom
unknown repository
Oct 21, 2023
Merged

Fixed integrated browser on Linux (issue #94)#96
WillyJL merged 1 commit intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 14, 2023

I've just copied invocation method that login window uses. Looks like due to different threading implementation on Linux child process fails to acquire shared OpenGL context. Maybe there is a better way to fix it, but this should work just fine.

Here is some diagnostic information:

Initial error message: g_main_context_push_thread_default: assertion 'acquired_context' failed.

Integrated browser window fails to initialize/open only when:

  • Running on Linux
  • Application is frozen
  • Using multiprocessing.Process

@WillyJL WillyJL merged commit 61b895f into WillyJL:main Oct 21, 2023
@ghost ghost deleted the linux-context-fix branch October 22, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant