diff options
author | cbdev <cb@cbcdn.com> | 2020-03-15 12:19:50 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-03-15 12:19:50 +0100 |
commit | 6da00154f7745a4705047fc73ce42b7036b0bbdc (patch) | |
tree | 8c62c377827ccd0291ba17047e3bcdff3d9ccb64 /backend.c | |
parent | 05cdf563fcc4c7835ec422fa5d7ee86b68a9f1df (diff) | |
download | midimonster-6da00154f7745a4705047fc73ce42b7036b0bbdc.tar.gz midimonster-6da00154f7745a4705047fc73ce42b7036b0bbdc.tar.bz2 midimonster-6da00154f7745a4705047fc73ce42b7036b0bbdc.zip |
Fix build and CI exits
Diffstat (limited to 'backend.c')
-rw-r--r-- | backend.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -311,6 +311,9 @@ int backends_stop(){ size_t u, n; instance** inst = NULL; + //channels before instances to support proper shutdown procedures + channels_free(); + //shut down the registry for(u = 0; u < registry.n; u++){ //fetch list of instances @@ -335,7 +338,6 @@ int backends_stop(){ registry.instances[u] = NULL; } - channels_free(); free(registry.backends); free(registry.instances); registry.n = 0; |