Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Revert change that introduced thread-safety bug - #1579

#1579
Merged
AArnott merged 2 commits into
MessagePack-CSharp:masterMessagePack-CSharp/MessagePack-CSharp:masterfrom
AArnott:dev/andarno/compilerWarningFixAArnott/MessagePack-CSharp:dev/andarno/compilerWarningFixCopy head branch name to clipboard
Mar 16, 2023
Merged

Revert change that introduced thread-safety bug#1579
AArnott merged 2 commits into
MessagePack-CSharp:masterMessagePack-CSharp/MessagePack-CSharp:masterfrom
AArnott:dev/andarno/compilerWarningFixAArnott/MessagePack-CSharp:dev/andarno/compilerWarningFixCopy head branch name to clipboard

Conversation

@AArnott

@AArnott AArnott commented Mar 16, 2023

Copy link
Copy Markdown
Collaborator
  • Fix compiler warning that appears with VS 2022 Update 6 preview
  • Remove code to throw an exception
    This fixes a regression introduced in a398f71.
    I misunderstood that the TryAddInternal method always sets the out value even when returning false.

AArnott added 2 commits March 16, 2023 08:00
This fixes a regression introduced in a398f71.
I misunderstood that the `TryAddInternal` method *always* sets the out value even when returning false.
@AArnott AArnott changed the title Fix compiler warning that appears with VS 2022 Update 6 preview Revert change that introduced thread-safety bug Mar 16, 2023
@AArnott AArnott added this to the v2.5 milestone Mar 16, 2023
@AArnott
AArnott merged commit cb0ad5d into MessagePack-CSharp:master Mar 16, 2023
@AArnott
AArnott deleted the dev/andarno/compilerWarningFix branch March 16, 2023 14:26
This was referenced Jun 11, 2026
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.