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:
@@ -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
|
||||
|
Reference in New Issue
Block a user