Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unadvise/EventProxy.close() #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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