Wednesday, March 25, 2015

Memory leak in WebView with custom UserAgent

Hi,


When I use the method with using NavigateWithHttpRequestMessage to modify my UA, I cannot dispose my webview properly - there seems to be a memory leak when calling this.


In my code when I comment out the following line:


myWebView.NavigateWithHttpRequestMessage(httpRequest);


The memory leak goes away.


Please note this seems to be a WP8.1 issue only, the memory leak does not appear on Windows.


Is this a known issue? Is there a work around here?


No comments:

Post a Comment