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
6f87386a
Commit
6f87386a
authored
Mar 10, 2005
by
Juan Lang
Committed by
Alexandre Julliard
Mar 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a crash if the Mozilla ActiveX control doesn't implement
DllCanUnloadNow.
parent
23805995
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+3
-4
No files found.
dlls/shdocvw/shdocvw_main.c
View file @
6f87386a
...
...
@@ -130,17 +130,16 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
*/
HRESULT
WINAPI
SHDOCVW_DllCanUnloadNow
(
void
)
{
HRESULT
moz_can_unload
=
S_
FALSE
;
HRESULT
moz_can_unload
=
S_
OK
;
fnCanUnloadNow
pCanUnloadNow
;
if
(
hMozCtl
)
{
pCanUnloadNow
=
(
fnCanUnloadNow
)
GetProcAddress
(
hMozCtl
,
"DllCanUnloadNow"
);
moz_can_unload
=
pCanUnloadNow
();
if
(
pCanUnloadNow
)
moz_can_unload
=
pCanUnloadNow
();
}
else
moz_can_unload
=
S_OK
;
if
(
moz_can_unload
==
S_OK
&&
SHDOCVW_refCount
==
0
)
return
S_OK
;
...
...
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