Skip to content

Commit

Permalink
delete unnecessary queue lock in Engine::injectInput(), this fix free…
Browse files Browse the repository at this point in the history
…ze on wheel event
  • Loading branch information
U-i7\gimy committed Sep 1, 2009
1 parent 90b42d5 commit 7f9fe9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,6 @@ void Engine::beginGeneratingKeyboardEvents(
unsigned int Engine::injectInput(const KEYBOARD_INPUT_DATA *i_kid, const KBDLLHOOKSTRUCT *i_kidRaw)
{
if (i_kid->Flags & KEYBOARD_INPUT_DATA::E1) {
Acquire a(&m_cskidq);
INPUT kid[2];
int count = 1;

Expand Down

0 comments on commit 7f9fe9a

Please sign in to comment.