|
Rank: Newbie Groups: Member
Joined: 7/17/2019 Posts: 9
|
Dear Team,
Do we need to write any code for making WebView close explicitly as it keeps running in background even if WebView Window is closed.
Thanks, Sameer
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
No. If a WebView is created inside a window, the WebView will be automatically closed when the parent window is closed.
|
|
Rank: Newbie Groups: Member
Joined: 7/17/2019 Posts: 9
|
I am using under MetroWindow ( It is user control) (MahaApps Metro components) anyways solved it by closing the component on Windows Closing Event
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
Our components will be closed when the parent window handle is destroyed. So for for some reason the parent window is not destroyed (for example, only hidden), then the component will not be destroyed. In that case you can explicitly destroy it.
Thanks
|
|