Do not reply sync messages when window is closed.

This commit is contained in:
Cheng Zhao 2013-09-22 10:43:54 +08:00
parent 1e4762ce92
commit 761b9d22c8
4 changed files with 27 additions and 11 deletions

View file

@ -76,7 +76,7 @@ void AtomBrowserBindings::OnRendererMessageSync(
int routing_id,
const string16& channel,
const base::ListValue& args,
IPC::Sender* sender,
NativeWindow* sender,
IPC::Message* message) {
v8::HandleScope scope;