Can't close audioInputExample

Hello, sometimes when I run the examples/sound/audioInputExample on Windows 10 and I close the app window, the console window remains open and I can’t close it. Ctrl+Shift+Esc and “End Task” doesn’t work either. I have to restart the computer to close i-

It closed while I was typing this, but when I try to run it again, I get

RtApiAsio::getDeviceInfo: error (Hardware input or output is not present or available.) initializing driver (GP-10).

[ error ] RtApiAsio::probeDeviceOpen: error (Hardware input or output is not present or available.) initializing driver (GP-10).

so it looks like the access to the driver was left open or something…

I am running on GNU/Linux, but when I close the app window, I get a message in the terminal window telling me to press Enter.

You can try to add an exit() method to the app so that the sound stream closes properly when the program ends:

void ofApp::exit() {
ofSoundStreamClose();
}