pmaillot / X32-Behringer

This GIT repo (C language) holds applications and utilities for the Behringer X32 and M32 mixing consoles. Additional details, documentation, implementation examples and apps can be found in my website:
https://sites.google.com/site/patrickmaillot/x32
234 stars 41 forks source link

X32 sim process remains active when quitting terminal first #24

Closed ljvdhooft closed 2 years ago

ljvdhooft commented 2 years ago

Process remains active if the terminal is quit without stopping the process. When the X32 sim is opened again the virtual console cannot be initialised since the ip:port is already in use. Full machine restart is required to fix this

pmaillot commented 2 years ago

Give more detail on what you did to come to that situation. I have launched X32, then an app that connected to it. while the app was running and still connected, I killed the terminal window of X32 emulator, and relaunched a new one with X32 emulator in it. No issues.

ljvdhooft commented 2 years ago

When the terminal is killed with the X32 emulator still running I get the following message when I try to restart the emulator on the previous IP address (blurred out): Error on IP address: x.x.x.x - cannot run

Running netstat reveals the IP address with :10023 as a running process.

(MacBook Pro 2021, MacOS 12.3 Monterey)

pmaillot commented 2 years ago

Probably a Mac thing. Just ensure you kill the X32 process then. Or update the code to ensure the process kills itself when exiting the Mac terminal with the program still running. Again, no issues on Windows.