There are two Dispose scenarios:
- User initiated
- Needs to send the relevant
DevTools commands so a new DevToolsContext can be created later if required.
- Unhook events
- Dispose of DevTools observer
- ChromiumWebBrowser Dispose
For scenario #2 as the browser is disposing it's difficult and likely not necessary to send the DevTools commands
There are two
Disposescenarios:DevToolscommands so a newDevToolsContextcan be created later if required.For scenario
#2as the browser is disposing it's difficult and likely not necessary to send theDevToolscommands