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
ca608933
Commit
ca608933
authored
Jan 14, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make proxy shutdown test succeed by releasing the channel on
disconnect.
parent
77502e7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
marshal.c
dlls/ole32/marshal.c
+8
-1
marshal.c
dlls/ole32/tests/marshal.c
+1
-1
No files found.
dlls/ole32/marshal.c
View file @
ca608933
...
...
@@ -355,6 +355,8 @@ static void proxy_manager_disconnect(struct proxy_manager * This)
{
struct
list
*
cursor
;
TRACE
(
"oid = %s
\n
"
,
wine_dbgstr_longlong
(
This
->
oid
));
EnterCriticalSection
(
&
This
->
cs
);
LIST_FOR_EACH
(
cursor
,
&
This
->
interfaces
)
...
...
@@ -366,6 +368,11 @@ static void proxy_manager_disconnect(struct proxy_manager * This)
/* apartment is being destroyed so don't keep a pointer around to it */
This
->
parent
=
NULL
;
/* FIXME: will this still be necessary if/when we use a real RPC
* channel? */
IRpcChannelBuffer_Release
(
This
->
chan
);
This
->
chan
=
NULL
;
LeaveCriticalSection
(
&
This
->
cs
);
}
...
...
@@ -397,7 +404,7 @@ static void proxy_manager_destroy(struct proxy_manager * This)
ifproxy_destroy
(
ifproxy
);
}
IRpcChannelBuffer_Release
(
This
->
chan
);
if
(
This
->
chan
)
IRpcChannelBuffer_Release
(
This
->
chan
);
DeleteCriticalSection
(
&
This
->
cs
);
...
...
dlls/ole32/tests/marshal.c
View file @
ca608933
...
...
@@ -350,7 +350,7 @@ static void test_marshal_proxy_apartment_shutdown()
CoUninitialize
();
todo_wine
{
ok_no_locks
();
}
ok_no_locks
();
IUnknown_Release
(
pProxy
);
...
...
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