Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6d5eee08
Commit
6d5eee08
authored
Jul 09, 2007
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jul 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Clear static variables after releasing hooks.
parent
82569d9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dinput_main.c
dlls/dinput/dinput_main.c
+1
-0
No files found.
dlls/dinput/dinput_main.c
View file @
6d5eee08
...
...
@@ -766,6 +766,7 @@ static LRESULT CALLBACK dinput_hook_WndProc(HWND hWnd, UINT message, WPARAM wPar
case
WM_DESTROY
:
if
(
kbd_hook
)
UnhookWindowsHookEx
(
kbd_hook
);
if
(
mouse_hook
)
UnhookWindowsHookEx
(
mouse_hook
);
kbd_hook
=
mouse_hook
=
NULL
;
PostQuitMessage
(
0
);
}
return
DefWindowProcW
(
hWnd
,
message
,
wParam
,
lParam
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment