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

Fix web renderer crashing when multiple Smelter instances are run #1016

Merged
merged 2 commits into from
Mar 24, 2025

Conversation

noituri
Copy link
Member

@noituri noituri commented Mar 19, 2025

When two instances of smelter share the same CEF root_cache_path, one instance becomes the main browser window, and the other acts as an opened "tab" in that browser. We don't handle that case at all, hence the crash. Fixed it by giving each instance a unique root_cache_path so now each instance works independently.

Fixes: #1014

@noituri noituri requested a review from wkozyra95 March 19, 2025 10:56
@wkozyra95
Copy link
Member

add to changelog

@noituri noituri force-pushed the @noituri/cef-handle-new-tab branch from b9ad6a7 to fa4bda3 Compare March 20, 2025 15:44
@noituri noituri merged commit a17c66e into master Mar 24, 2025
4 checks passed
@noituri noituri deleted the @noituri/cef-handle-new-tab branch March 24, 2025 11:11
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.

Web renderer crashes when more than 1 instance of smelter is running
2 participants