Add webContents.sendToAll to send message to all frames
This commit is contained in:
parent
c1facec5a6
commit
9ab76fb884
7 changed files with 58 additions and 18 deletions
|
@ -35,7 +35,7 @@ void RemoteCallbackFreer::RunDestructor() {
|
|||
base::ASCIIToUTF16("ELECTRON_RENDERER_RELEASE_CALLBACK");
|
||||
base::ListValue args;
|
||||
args.AppendInteger(object_id_);
|
||||
Send(new AtomViewMsg_Message(routing_id(), channel, args));
|
||||
Send(new AtomViewMsg_Message(routing_id(), false, channel, args));
|
||||
|
||||
Observe(nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue