libobs: Fix deadlock on macOS input method change
This commit is contained in:
parent
a0e4e37341
commit
48dad45ed5
1 changed files with 2 additions and 0 deletions
|
|
@ -563,6 +563,8 @@ static void InputMethodChangedProc(CFNotificationCenterRef center __unused, void
|
|||
|
||||
CFRetain(platform->layout_data);
|
||||
platform->layout = (UCKeyboardLayout *) CFDataGetBytePtr(platform->layout_data);
|
||||
|
||||
pthread_mutex_unlock(&hotkeys->mutex);
|
||||
}
|
||||
|
||||
// MARK: macOS Hotkey API Implementation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue