From a02e3de0647de0aa778804689b9c323949a4f115 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 4 Nov 2015 14:10:11 +0000 Subject: [PATCH] Memory management --- src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.js b/src/main.js index 4733816..890db1f 100644 --- a/src/main.js +++ b/src/main.js @@ -47,6 +47,7 @@ app.on('ready', function () { frame: false }); audioController.loadUrl('file://' + __dirname + '/audio.html'); + audioController.on('closed', function () { audioController = undefined; }); }); ipc.on('hide', function () {