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
d15aee92
Commit
d15aee92
authored
May 16, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Don't bother to delete critical sections at process exit.
parent
20ff6bc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dinput_main.c
dlls/dinput/dinput_main.c
+2
-1
No files found.
dlls/dinput/dinput_main.c
View file @
d15aee92
...
@@ -1634,7 +1634,7 @@ void check_dinput_hooks(LPDIRECTINPUTDEVICE8W iface)
...
@@ -1634,7 +1634,7 @@ void check_dinput_hooks(LPDIRECTINPUTDEVICE8W iface)
LeaveCriticalSection
(
&
dinput_hook_crit
);
LeaveCriticalSection
(
&
dinput_hook_crit
);
}
}
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserv
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserv
ed
)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
...
@@ -1643,6 +1643,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserv)
...
@@ -1643,6 +1643,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserv)
DINPUT_instance
=
inst
;
DINPUT_instance
=
inst
;
break
;
break
;
case
DLL_PROCESS_DETACH
:
case
DLL_PROCESS_DETACH
:
if
(
reserved
)
break
;
DeleteCriticalSection
(
&
dinput_hook_crit
);
DeleteCriticalSection
(
&
dinput_hook_crit
);
break
;
break
;
}
}
...
...
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