From 4a19a39e2ba8f26fa54bc19a568e8b61ad619c7c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 25 Feb 2017 01:18:27 +0100 Subject: [PATCH] osc: check if midi is on before calling --- app/main/osc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/osc.js b/app/main/osc.js index 4806f518..ed963a75 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -157,7 +157,7 @@ if (customModule.init) { customModule.init() } -midi.init(receiveOsc) +if (midi) midi.init(receiveOsc) module.exports = {