Expose gc() in specs.
This commit is contained in:
parent
cd19666307
commit
402dc2f5d2
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ var BrowserWindow = require('browser-window');
|
||||||
|
|
||||||
var window = null;
|
var window = null;
|
||||||
|
|
||||||
|
app.commandLine.appendSwitch('js-flags', '--expose_gc');
|
||||||
|
|
||||||
ipc.on('message', function() {
|
ipc.on('message', function() {
|
||||||
ipc.send.apply(this, arguments);
|
ipc.send.apply(this, arguments);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue