Fix memory corruption when translating Refresh text #287
No reviewers
Labels
No labels
area/accessibility
area/dependency
Confirmed
Crash Report
Delayed
Design Issue
Duplicate
Feedback required
Good first issue
kind/bug
kind/cleanup
kind/enhancement
platform/linux
platform/macos
platform/windows
priority/high
Question
Request for Comments
Seeking Other Contributors
Seeking Testers
Won't Fix / By Design
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-obsproject/obs-browser!287
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-context-crash"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
After testing a variety of solutions, including moving everything into the Qt/UI thread, it seems
.toStdString()was causing memory corruption. Using.toUtf8().constData()directly seems to solve the issue.Motivation and Context
This fixes a crash / memory corruption.
How Has This Been Tested?
Right click on a browser panel on Windows.
Types of changes
Checklist: