Skip to content

Commit

Permalink
Fix Crash On MacOS when no Accessibility permission, SnosMe#24
Browse files Browse the repository at this point in the history
  • Loading branch information
INTERNAL\lijianhua02 committed Jul 1, 2024
1 parent 52ff678 commit 34586ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/uiohook_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ int hook_enable() {
// Get the status back from the thread.
uv_thread_join(&hook_thread);
status = hook_thread_status;
uv_mutex_unlock(&hook_running_mutex);
}
else {
// Lock Failure; The hook is currently running and wait was signaled
Expand Down

0 comments on commit 34586ec

Please sign in to comment.