make dispose public
This commit is contained in:
parent
f20ba933dc
commit
b645d4d654
|
|
@ -66,7 +66,7 @@ public class RequestContext : IDisposable {
|
||||||
await SetStatusCodeAndDisposeAsync(HttpStatusCode.Redirect);
|
await SetStatusCodeAndDisposeAsync(HttpStatusCode.Redirect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IDisposable.Dispose() {
|
public void Dispose() {
|
||||||
reqReader?.Dispose();
|
reqReader?.Dispose();
|
||||||
respWriter?.Dispose();
|
respWriter?.Dispose();
|
||||||
GC.SuppressFinalize(this);
|
GC.SuppressFinalize(this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user