mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 08:57:41 +01:00
Don't wait in vain for 1 second when quitting before wiimote is bound
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4094 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
09581e07d3
commit
596aa3a4fe
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ WiimoteControlProtocol::initializer_thread()
|
|||
bdaddr = *BDADDR_ANY;
|
||||
wiimote_handle = cwiid_open(&bdaddr, 0);
|
||||
|
||||
if (!wiimote_handle) {
|
||||
if (!wiimote_handle && !init_thread_quit) {
|
||||
sleep(1);
|
||||
// We don't know whether the issue was a timeout or a configuration
|
||||
// issue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue