From: Cheng Zhao Date: Mon, 29 Jul 2013 08:35:42 +0000 (+0800) Subject: Expose gc() in specs. X-Git-Tag: v0.1.8~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=402dc2f5d2b8f89c39fd600b9c1932fea84fdb02;p=electron.git Expose gc() in specs. --- diff --git a/spec/main.js b/spec/main.js index 9439ce15..dbe8cca6 100644 --- a/spec/main.js +++ b/spec/main.js @@ -4,6 +4,8 @@ var BrowserWindow = require('browser-window'); var window = null; +app.commandLine.appendSwitch('js-flags', '--expose_gc'); + ipc.on('message', function() { ipc.send.apply(this, arguments); });