mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix crash on shutdown due to CefProcess not being destroyed immediately (issue #277).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@400 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
#include "base/synchronization/waitable_event.h"
|
||||
#include "base/threading/thread.h"
|
||||
|
||||
CefProcess* g_cef_process = NULL;
|
||||
|
||||
// Class used to process events on the current message loop.
|
||||
class CefMessageLoopForUI : public MessageLoopForUI
|
||||
{
|
||||
@@ -67,7 +65,6 @@ CefProcess::CefProcess(bool multi_threaded_message_loop)
|
||||
created_ui_thread_(false),
|
||||
created_io_thread_(false),
|
||||
created_file_thread_(false) {
|
||||
g_cef_process = this;
|
||||
}
|
||||
|
||||
CefProcess::~CefProcess() {
|
||||
@@ -87,8 +84,6 @@ CefProcess::~CefProcess() {
|
||||
// Terminate the message loop.
|
||||
ui_message_loop_.reset();
|
||||
}
|
||||
|
||||
g_cef_process = NULL;
|
||||
}
|
||||
|
||||
void CefProcess::DoMessageLoopIteration() {
|
||||
|
Reference in New Issue
Block a user