Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
92ff5f35
Commit
92ff5f35
authored
Nov 17, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Delete the static critical sections when unloading the dll.
parent
74547916
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
rpc_server.c
dlls/rpcrt4/rpc_server.c
+3
-0
rpcrt4_main.c
dlls/rpcrt4/rpcrt4_main.c
+2
-0
No files found.
dlls/rpcrt4/rpc_server.c
View file @
92ff5f35
...
...
@@ -1078,6 +1078,8 @@ void RPCRT4_destroy_all_protseqs(void)
destroy_serverprotoseq
(
cps
);
}
LeaveCriticalSection
(
&
server_cs
);
DeleteCriticalSection
(
&
server_cs
);
DeleteCriticalSection
(
&
listen_cs
);
}
/***********************************************************************
...
...
@@ -1321,6 +1323,7 @@ void RPCRT4_ServerFreeAllRegisteredAuthInfo(void)
HeapFree
(
GetProcessHeap
(),
0
,
auth_info
);
}
LeaveCriticalSection
(
&
server_auth_info_cs
);
DeleteCriticalSection
(
&
server_auth_info_cs
);
}
/***********************************************************************
...
...
dlls/rpcrt4/rpcrt4_main.c
View file @
92ff5f35
...
...
@@ -140,6 +140,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
case
DLL_PROCESS_DETACH
:
RPCRT4_destroy_all_protseqs
();
RPCRT4_ServerFreeAllRegisteredAuthInfo
();
DeleteCriticalSection
(
&
uuid_cs
);
DeleteCriticalSection
(
&
threaddata_cs
);
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