Welcome Guest Search | Active Topics | Sign In | Register

How to dispose webView and runnerThread Options
clorest
Posted: Wednesday, September 9, 2015 8:49:45 AM
Rank: Advanced Member
Groups: Member

Joined: 6/24/2015
Posts: 39
I have wrote a program without ui. It runs in background. When i start a new task, i need to create a new WebView and dispose the old. But i can't release the webView object with destory or dispose methods. The webView reference refers to a webView object after calling destory or dispoes method. The system.GC.collect() method doesn't work too.
How to dispose the webView object? Help me please, thanks!
eo_support
Posted: Wednesday, September 9, 2015 9:58:37 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
I am not sure if I understand your question. You say you need to create a new WebView and Dispose the old, then you say you can not Destroy the WebView. If you want to use it later, why do you want to destroy it? If you do not want to use it later, why can not you destroy it?


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.