我在新线程中创建并初始化了Cef(background属性= true)。然后,此线程调用Cef.Shutdown()。有时会导致死锁。请帮助我找出问题所在?
var cefThread = new Thread(CefThread)
{
IsBackground = true
};
cefThread.Start();
...
...
private static void CefThread()
{
CefSharpSettings.ShutdownOnExit = false;
Cef.Initialize(...)
....
Cef.Shutdown();
}