File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,11 @@ namespace CefSharp
168168 if (IsInitialized)
169169 {
170170 // NOTE: Can only initialize Cef once, to make this explicitly clear throw exception on subsiquent attempts
171- throw gcnew Exception (" Cef can only be initialized once. Use Cef.IsInitialized to guard against this exception." );
171+ throw gcnew Exception (" CEF can only be initialized once per process. This is a limitation of the underlying " +
172+ " CEF/Chromium framework. You can change many (not all) settings at runtime through RequestContext.SetPreference. " +
173+ " See https://github.com/cefsharp/CefSharp/wiki/General-Usage#request-context-browser-isolation " +
174+ " Use Cef.IsInitialized to guard against this exception. If you are seeing this unexpectedly then you are likely " +
175+ " calling Cef.Initialize after you've created an instance of ChromiumWebBrowser, it must be before the first instance is created." );
172176 }
173177
174178 if (cefSettings->BrowserSubprocessPath == nullptr )
You can’t perform that action at this time.
0 commit comments