How DevTools detached ?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How DevTools detached ?

Postby Staxcelrom » Sat Aug 27, 2022 12:04 pm

Is it possible to disconnect DevTools from the browser?

DevTools is attached to the browser with the AddDevToolsMessageObserver function, but is there a function or perhaps a command that needs to be sent using SendDevToolsMessage() - which will detached DevTools from the browser?
Staxcelrom
Expert
 
Posts: 206
Joined: Wed Jan 26, 2022 8:20 am

Re: How DevTools detached ?

Postby magreenblatt » Sat Aug 27, 2022 5:25 pm

Destruction of the CefRegistration object returned by AddDevToolsMessageObserver will accomplish this.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 61 guests