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
113df19d
Commit
113df19d
authored
Nov 17, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Delete the dispex and gecko static critical sections when unloading the dll.
parent
c9ae82da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
dispex.c
dlls/mshtml/dispex.c
+11
-10
nsembed.c
dlls/mshtml/nsembed.c
+2
-0
No files found.
dlls/mshtml/dispex.c
View file @
113df19d
...
...
@@ -31,6 +31,16 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
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
const
WCHAR
objectW
[]
=
{
'['
,
'o'
,
'b'
,
'j'
,
'e'
,
'c'
,
't'
,
']'
,
0
};
typedef
struct
{
...
...
@@ -155,6 +165,7 @@ void release_typelib(void)
ITypeInfo_Release
(
typeinfos
[
i
]);
ITypeLib_Release
(
typelib
);
DeleteCriticalSection
(
&
cs_dispex_static_data
);
}
HRESULT
get_htmldoc_classinfo
(
ITypeInfo
**
typeinfo
)
...
...
@@ -320,16 +331,6 @@ HRESULT get_dispids(tid_t tid, DWORD *ret_size, DISPID **ret)
return
S_OK
;
}
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
)
...
...
dlls/mshtml/nsembed.c
View file @
113df19d
...
...
@@ -905,6 +905,8 @@ void close_gecko(void)
/* Gecko doesn't really support being unloaded */
/* if (hXPCOM) FreeLibrary(hXPCOM); */
DeleteCriticalSection
(
&
cs_load_gecko
);
}
BOOL
is_gecko_path
(
const
char
*
path
)
...
...
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