- When running in multi-threaded message loop mode wait for the UI thread to exit before returning from CefContext::Shutdown() (issue #263).

- Fix crash in IME handling when closing the application while content is still loading.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@258 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-06-14 17:10:15 +00:00
parent 5c2824a422
commit 0d893166d3
3 changed files with 46 additions and 14 deletions

View File

@@ -1040,7 +1040,7 @@ void WebWidgetHost::UpdateInputMethod(HWND view)
WebWidgetHost* host = FromWindow(view);
if (!host->input_method_is_active_)
if (!host || !host->input_method_is_active_)
return;
if (!host->webwidget_ || !CefThread::CurrentlyOn(CefThread::UI))