fix api and docs
This commit is contained in:
parent
0e2323c9c8
commit
df5bad3f89
4 changed files with 27 additions and 39 deletions
|
@ -70,6 +70,9 @@ let wrapWebContents = function(webContents) {
|
|||
var controller, method, name, ref1;
|
||||
webContents.__proto__ = EventEmitter.prototype;
|
||||
|
||||
// webContents.debugger is an EventEmitter.
|
||||
webContents.debugger.__proto__ = EventEmitter.prototype;
|
||||
|
||||
// Every remote callback from renderer process would add a listenter to the
|
||||
// render-view-deleted event, so ignore the listenters warning.
|
||||
webContents.setMaxListeners(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue