#25 - Fix request stream async memory leak, dispose RequestStreamAsyncResult.
This commit is contained in:
parent
4b76d93801
commit
8cda77db5a
|
|
@ -566,6 +566,7 @@ namespace Microsoft.Net.Http.Server
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void Fail(Exception ex)
|
internal void Fail(Exception ex)
|
||||||
|
|
@ -582,6 +583,7 @@ namespace Microsoft.Net.Http.Server
|
||||||
// TODO: Log
|
// TODO: Log
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SuppressMessage("Microsoft.Usage", "CA2216:DisposableTypesShouldDeclareFinalizer", Justification = "The disposable resource referenced does have a finalizer.")]
|
[SuppressMessage("Microsoft.Usage", "CA2216:DisposableTypesShouldDeclareFinalizer", Justification = "The disposable resource referenced does have a finalizer.")]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue