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

Allow async/await when intercepting synchronous methods #27

Closed
wants to merge 8 commits into from

Conversation

JSkimming
Copy link
Owner

PR #26 has highlighted an issue whereby interceptors that derive from AsyncInterceptorBase can result in deadlock when executing asynchronous operations when intercepting synchronous methods.

This PR as attempting to address that underlying deadlock issue before addressing the problem raised by PR #26 and issue #25.

@JSkimming JSkimming added the bug label Nov 5, 2017
@JSkimming JSkimming self-assigned this Nov 5, 2017
@codecov-io
Copy link

codecov-io commented Nov 5, 2017

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #27   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         229    229           
  Branches        7      7           
=====================================
  Hits          229    229

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9b823f...021d26b. Read the comment docs.

@JSkimming
Copy link
Owner Author

It's been fixed now in Castle.Core

@JSkimming JSkimming closed this Apr 8, 2019
@JSkimming JSkimming deleted the async-with-sync branch April 8, 2019 22:17
@ndrwrbgs
Copy link
Collaborator

ndrwrbgs commented Apr 8, 2019

YAY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants