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 () {