Skip to content

Commit

Permalink
requesthandler: Fix releasing hotkeys triggered by name
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro authored and tt2468 committed Jun 6, 2024
1 parent 36f50ad commit 3b873ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/requesthandler/RequestHandler_General.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ RequestResult RequestHandler::TriggerHotkeyByName(const Request &request)
return RequestResult::Error(RequestStatus::ResourceNotFound, "No hotkeys were found by that name.");

obs_hotkey_trigger_routed_callback(obs_hotkey_get_id(hotkey), true);
obs_hotkey_trigger_routed_callback(obs_hotkey_get_id(hotkey), false);

return RequestResult::Success();
}
Expand Down

0 comments on commit 3b873ce

Please sign in to comment.