Skip to content

Keep unbuffered async multi-map resources alive - #2263

Closed
alaricd wants to merge 1 commit into
DapperLib:mainfrom
pengdows:fix/issue-2099
Closed

alaricd wants to merge 1 commit into
DapperLib:mainfrom
pengdows:fix/issue-2099

Conversation

@alaricd

@alaricd alaricd commented Oct 24, 2026

Copy link
Copy Markdown

Fixes #2099
Fixes #596
Fixes #1418

Unbuffered async multi-map returned an iterator backed by a reader and command that were disposed when QueryAsync returned. Defer disposal until enumeration completes and add a fakeDb regression test.

@mgravell

Copy link
Copy Markdown
Member

Real bug, but #2229 fixed the same unbuffered-async reader disposal (tracked as #2099) seven weeks earlier using the established QueryAsync hand-off pattern and existing test infrastructure, so that PR gets the merge. Closing as duplicate; see #2199 for the note on the test dependency. Thanks!

@mgravell mgravell closed this Nov 20, 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

2 participants