Bug fix: Interrupting libburn while drive tray is loading led to endless loop

This commit is contained in:
2011-12-02 10:02:25 +00:00
parent 7a5f1ab35c
commit 56c02fa394
3 changed files with 5 additions and 3 deletions

View File

@ -210,6 +210,8 @@ handle_error:;
goto handle_error;
slumber:;
if (d->cancel)
break;
usleep(sleep_usecs);
}
if (ret <= 0 || !(flag & 2)) {