aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-02-29 15:35:08 +0100
committercbdev <cb@cbcdn.com>2020-02-29 15:35:08 +0100
commit9c564af18dc3faad8910bfe14b45ed4ab884d797 (patch)
treede6811a3439930cd0b9e19aa87558b3a2f7a4025 /backends
parent454e757f740b74d714e9fa47bfa4954cb30e67ba (diff)
downloadmidimonster-9c564af18dc3faad8910bfe14b45ed4ab884d797.tar.gz
midimonster-9c564af18dc3faad8910bfe14b45ed4ab884d797.tar.bz2
midimonster-9c564af18dc3faad8910bfe14b45ed4ab884d797.zip
Keep console alive when exiting as last process on Windows
Diffstat (limited to 'backends')
-rw-r--r--backends/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/lua.c b/backends/lua.c
index 7d20fb1..955341a 100644
--- a/backends/lua.c
+++ b/backends/lua.c
@@ -457,6 +457,7 @@ static int lua_start(size_t n, instance** inst){
if(strcmp(data->channel_name[p], "output")
&& strcmp(data->channel_name[p], "input_value")
&& strcmp(data->channel_name[p], "output_value")
+ && strcmp(data->channel_name[p], "input_channel")
&& strcmp(data->channel_name[p], "interval")){
lua_getglobal(data->interpreter, data->channel_name[p]);
data->reference[p] = luaL_ref(data->interpreter, LUA_REGISTRYINDEX);