Commit 5c4fc480 authored by justcoding121's avatar justcoding121

set body bytes to null after use

parent b43e3df2
...@@ -214,6 +214,10 @@ namespace Titanium.Web.Proxy.Http ...@@ -214,6 +214,10 @@ namespace Titanium.Web.Proxy.Http
/// </summary> /// </summary>
public void Dispose() public void Dispose()
{ {
//not really needed since GC will collect it
//but just to be on safe side
Request.RequestBody = null;
Response.ResponseBody = null;
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment