Can CefGlue be initialized/shutdown more than once?

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Can CefGlue be initialized/shutdown more than once?

Postby GMoneyCT » Fri Jan 15, 2016 11:58 am

I was wondering if anyone has come across the scenario where you needed to reload CefGlue after calling CefRuntime.Shutdown? I am using CefGlue inside a DLL that can be loaded many times in my application. If I don't call CefRuntime.Shutdown when I am done with each DLL, things work okay until I try to shut down my parent application. I usually get the parent application to hang. Now if I do call CefRuntime.Shutdown when I am done with the first DLL and I try to load another instance of the DLL, I dont get the internal "Browser" object to be re-created (it is null). I know the correct sequence is - start application > load CEF > do things > shutdown CEF > close application. Is this the only way it was designed to work?
GMoneyCT
Newbie
 
Posts: 2
Joined: Wed Dec 23, 2015 2:51 pm

Re: Can CefGlue be initialized/shutdown more than once?

Postby amaitland » Fri Jan 15, 2016 5:11 pm

Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 14 guests