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:
Marshall Greenblatt
2011-11-30 17:00:24 +00:00
parent 8bf0248429
commit 9fd169d16c
4 changed files with 6 additions and 14 deletions

View File

@@ -32,8 +32,7 @@ class CefMessageLoopForUI;
// NOT THREAD SAFE, call only from the main thread.
// These functions shouldn't return NULL unless otherwise noted.
class CefProcess : public base::RefCounted<CefProcess>,
public base::NonThreadSafe {
class CefProcess : public base::NonThreadSafe {
public:
CefProcess(bool multi_threaded_message_loop);
virtual ~CefProcess();
@@ -116,6 +115,4 @@ class CefProcess : public base::RefCounted<CefProcess>,
DISALLOW_COPY_AND_ASSIGN(CefProcess);
};
extern CefProcess* g_cef_process;
#endif // _CEF_PROCESS_H