mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Correct UnhookWindowsHook: clear the handle so that the server doesn't
try to use it.
This commit is contained in:
parent
774c5f77db
commit
6c5e2b6703
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ BOOL WINAPI UnhookWindowsHook( INT id, HOOKPROC proc )
|
|||
|
||||
SERVER_START_REQ( remove_hook )
|
||||
{
|
||||
req->handle = 0;
|
||||
req->id = id;
|
||||
req->proc = proc;
|
||||
ret = !wine_server_call_err( req );
|
||||
|
|
Loading…
Reference in a new issue