Commit 1b34de8
Filter fatal exceptions from Task.FromException in async paths
Fatal exceptions (OOM, StackOverflow, ThreadAbort, NullReference,
AccessViolation) must not be wrapped in Task.FromException — they
should propagate synchronously. Add ADP.IsCatchableExceptionType
guards matching the existing pattern used elsewhere in SqlDataReader.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 52ed94b commit 1b34de8
2 files changed
Lines changed: 5 additions & 1 deletion
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
1363 | 1367 | | |
1364 | 1368 | | |
1365 | 1369 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5476 | 5476 | | |
5477 | 5477 | | |
5478 | 5478 | | |
5479 | | - | |
| 5479 | + | |
5480 | 5480 | | |
5481 | 5481 | | |
5482 | 5482 | | |
| |||
0 commit comments