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!
|
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?
|