Skip to content

Fix unadvise/EventProxy.close()#57

Open
protogenes wants to merge 2 commits intokohsuke:masterfrom
protogenes:bugfix/event-unadvise
Open

Fix unadvise/EventProxy.close()#57
protogenes wants to merge 2 commits intokohsuke:masterfrom
protogenes:bugfix/event-unadvise

Conversation

@protogenes
Copy link

Unadvising COM events needs to be done in the context of the owning COM object just as advising them needs to.
Therefor closing an EventProxy has to perform the actual unadvise task within the COMThread of the Wrapper for which advise() was used.
The fix forwards the proper COMThread during EventProxy creation and executes the unadvise task with its help.

@protogenes protogenes force-pushed the bugfix/event-unadvise branch from c1fe833 to 68e70b2 Compare February 20, 2017 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant