You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
null exception is triggered on the SharedDbConnection scope while asynchronously streaming data from a LoadAsync. this typically is fired at the end of the iterator when it goes to close the connection.
To Reproduce
Steps to reproduce the behavior:
await foreach (Models.Person person in people.AsAsyncEnumerable().LoadAsync())
{
foreach (Models.Renter renter in person.Renters)
{
Context.Renters.Delete(renter);
}
Context.People.Delete(person);
}
Expected behavior
I expect the connection object to not be null, so it can closed and disposed of correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows
Version .NetStandard 2.1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
since enhancing the shared db connection to track all asynchronous threads and the number of times each thread adds a shared connection to the heap. this issue has not occurred in multiple test runs.
Describe the bug
null exception is triggered on the SharedDbConnection scope while asynchronously streaming data from a LoadAsync. this typically is fired at the end of the iterator when it goes to close the connection.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the connection object to not be null, so it can closed and disposed of correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: