Remove the preload lock if there is an error initializing the playlist.
This commit is contained in:
parent
3b481ec39c
commit
38d5c776cd
|
@ -116,6 +116,7 @@ SchedulerThread :: nextStep(Ptr<ptime>::Ref now) throw ()
|
||||||
try {
|
try {
|
||||||
nextEvent->initialize();
|
nextEvent->initialize();
|
||||||
} catch (std::exception &e) {
|
} catch (std::exception &e) {
|
||||||
|
pthread_mutex_unlock(&preloadLock);
|
||||||
// cancel event by getting the next event after this was
|
// cancel event by getting the next event after this was
|
||||||
// supposed to finish
|
// supposed to finish
|
||||||
getNextEvent(nextEventEnd);
|
getNextEvent(nextEventEnd);
|
||||||
|
|
Loading…
Reference in New Issue