Skip to content

Fix possible issue with async code for delayed entity inserts#2233

Merged
hazzik merged 4 commits into
nhibernate:masterfrom
bahusoid:asyncLocal
Oct 1, 2019
Merged

Fix possible issue with async code for delayed entity inserts#2233
hazzik merged 4 commits into
nhibernate:masterfrom
bahusoid:asyncLocal

Conversation

@bahusoid
Copy link
Copy Markdown
Member

@bahusoid bahusoid commented Sep 30, 2019

ThreadStatic shouldn't be used in async code.
I believe it should fix intermittent and annoying MergeDeliveryNodeAsync test fail on AppVeyor CI.

Comment thread src/NHibernate/Action/EntityIdentityInsertAction.cs
Comment thread src/NHibernate/Action/DelayedPostInsertIdentifier.cs
Comment thread src/NHibernate/Action/DelayedPostInsertIdentifier.cs Outdated
@hazzik hazzik added this to the 5.3 milestone Oct 1, 2019
@hazzik hazzik merged commit 260c4c9 into nhibernate:master Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants