-
IT WAS
IT BECAME
|
Beta Was this translation helpful? Give feedback.
Answered by
RioMcBoo
Jan 3, 2024
Replies: 3 comments 4 replies
-
Might possibly be caused by #1277? You haven't shown any relevant code AFAICT. How is |
Beta Was this translation helpful? Give feedback.
1 reply
-
What does the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql-server-connection-pooling
The problem was about pool doesn't create a new reader after 2.3.х because it doesn't close current connection since now. (And it seems that now, being empty, the Reader itself closes and, together with the connection, passes into other hands without warning.)
And the stupid idea (maybe not) was using reader.Read() at creation reader's wrapper without any processing callback's bool value.
So I added in reader's wrapper the varification of this boolean value, and made it close the reader, and made link of it to be equal null.