Commit 0cf3f74
committed
Dispose objects in PayloadWriter.
These objects implement IDisposable and trigger (false positive)
analysis warnings about undisposed objects.
PayloadWriter should not be made IDisposable because it could be
rewritten to use ArrayPool (and manage its own memory); clients don't
need to worry about this implementation detail.1 parent d518c8c commit 0cf3f74
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments