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

#246 Fix for inappropriate disposal #254

Merged
merged 3 commits into from
Jun 17, 2022
Merged

#246 Fix for inappropriate disposal #254

merged 3 commits into from
Jun 17, 2022

Conversation

timyhac
Copy link
Collaborator

@timyhac timyhac commented May 7, 2022

This Pull Request fixes inappropriate disposal (for tags that failed to initialize using InitializeAsync).

When InitializeAsync ReadAsync or WriteAsync times out, it also will ensure that it will fail with a ErrorTimeout as opposed to a ErrorAborted

@timyhac timyhac requested a review from jkoplo May 7, 2022 00:23
@@ -7,7 +7,12 @@ namespace NativeImport_Examples
{
public struct MyUserDataClass
{
public int Value = 1234;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated to the primary change. Without it the code doesn't compile

@jkoplo
Copy link
Member

jkoplo commented May 11, 2022

Started to look at this, but I'm going to need to pull the whole code to think through how it interacts...

@jkoplo
Copy link
Member

jkoplo commented May 28, 2022

Alright went through it a little more. This makes sense, I think. I still haven't quite internalized how the whole ConcurrentStack is used with the native code and the TCS.

What's up with the broken build and the new GH action?

@timyhac
Copy link
Collaborator Author

timyhac commented May 28, 2022

I think it's this #255 (comment)

@timyhac timyhac merged commit d1b014a into master Jun 17, 2022
@timyhac timyhac deleted the #246 branch June 17, 2022 08:57
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.

2 participants