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

Berkelium should check if a glib thread isn't already running #9

Merged
merged 1 commit into from
Feb 10, 2012

Conversation

Klaim
Copy link

@Klaim Klaim commented Feb 10, 2012

Most applications (like ours) might already have their threads running before initializing Berkelium.

This if is mandatory to avoid a crash if the application did the g_thead_init() before initalizing Berkelium.

I tested this in our application, all seems fine. Also I made sure if it's not Berkelium that initialized the thread, it shouldn't impose the main window title either (like it is doing when it will init the thread itself).

…pplications (like ours) might already have their threads running before initializing Berkelium.

This if is mandatory to avoid a crash if the application did the g_thead_init() before initalizing Berkelium.

I tested this in our application, all seems fine. Also I made sure if it's not Berkelium that initialized the thread, it shouldn't impose the main window title either (like it is doing when it will init the thread itself).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants