Do not reply sync messages when window is closed.
This commit is contained in:
parent
1e4762ce92
commit
761b9d22c8
4 changed files with 27 additions and 11 deletions
|
@ -14,11 +14,12 @@ class ListValue;
|
|||
|
||||
namespace IPC {
|
||||
class Message;
|
||||
class Sender;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
|
||||
class NativeWindow;
|
||||
|
||||
class AtomBrowserBindings : public AtomBindings {
|
||||
public:
|
||||
AtomBrowserBindings();
|
||||
|
@ -38,7 +39,7 @@ class AtomBrowserBindings : public AtomBindings {
|
|||
int routing_id,
|
||||
const string16& channel,
|
||||
const base::ListValue& args,
|
||||
IPC::Sender* sender,
|
||||
NativeWindow* sender,
|
||||
IPC::Message* message);
|
||||
|
||||
// The require('atom').browserMainParts object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue