mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-30 23:17:21 +08:00
Expose gc() in specs.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user