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
a3e2c68f
Commit
a3e2c68f
authored
Nov 17, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Delete the dispex static critical section when unloading the dll.
parent
94091b9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
dispex.c
dlls/msxml3/dispex.c
+12
-10
No files found.
dlls/msxml3/dispex.c
View file @
a3e2c68f
...
...
@@ -45,6 +45,16 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msxml
);
static
CRITICAL_SECTION
cs_dispex_static_data
;
static
CRITICAL_SECTION_DEBUG
cs_dispex_static_data_dbg
=
{
0
,
0
,
&
cs_dispex_static_data
,
{
&
cs_dispex_static_data_dbg
.
ProcessLocksList
,
&
cs_dispex_static_data_dbg
.
ProcessLocksList
},
0
,
0
,
{
(
DWORD_PTR
)(
__FILE__
": dispex_static_data"
)
}
};
static
CRITICAL_SECTION
cs_dispex_static_data
=
{
&
cs_dispex_static_data_dbg
,
-
1
,
0
,
0
,
0
,
0
};
enum
lib_version_t
{
LibXml
=
0
,
...
...
@@ -206,6 +216,8 @@ void release_typelib(void)
for
(
i
=
0
;
i
<
sizeof
(
typelib
)
/
sizeof
(
*
typelib
);
i
++
)
if
(
typelib
[
i
])
ITypeLib_Release
(
typelib
[
i
]);
DeleteCriticalSection
(
&
cs_dispex_static_data
);
}
static
void
add_func_info
(
dispex_data_t
*
data
,
DWORD
*
size
,
tid_t
tid
,
DISPID
id
,
ITypeInfo
*
dti
)
...
...
@@ -301,16 +313,6 @@ static dispex_data_t *preprocess_dispex_data(DispatchEx *This)
return
data
;
}
static
CRITICAL_SECTION
cs_dispex_static_data
;
static
CRITICAL_SECTION_DEBUG
cs_dispex_static_data_dbg
=
{
0
,
0
,
&
cs_dispex_static_data
,
{
&
cs_dispex_static_data_dbg
.
ProcessLocksList
,
&
cs_dispex_static_data_dbg
.
ProcessLocksList
},
0
,
0
,
{
(
DWORD_PTR
)(
__FILE__
": dispex_static_data"
)
}
};
static
CRITICAL_SECTION
cs_dispex_static_data
=
{
&
cs_dispex_static_data_dbg
,
-
1
,
0
,
0
,
0
,
0
};
static
dispex_data_t
*
get_dispex_data
(
DispatchEx
*
This
)
{
if
(
This
->
data
->
data
)
...
...
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