We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d885ee5 commit e62e703Copy full SHA for e62e703
clients/jack_client.cpp
@@ -259,7 +259,7 @@ void cliThreadProc()
259
} catch (...) {
260
std::cout << "ERROR: Can't set num of voices!\n";
261
}
262
- } else if (kw == "quit") {
+ } else if (kw == "quit" || !std::cin) {
263
shouldClose = true;
264
} else if (kw.size() > 0) {
265
std::cout << "ERROR: Unknown command '" << kw << "'!\n";
0 commit comments