Skip to content

Commit

Permalink
Prevented bailing out in singleshot
Browse files Browse the repository at this point in the history
Singleshot mode sets eventid to -1 in populatePlaceholderEvent, which causes
said method to bail out and fall over. This is now removed, hopefully
improving stability.
  • Loading branch information
samdbmg committed Oct 2, 2015
1 parent 7eeff55 commit bc03782
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Plugins/EventProcessor_Fill/EventProcessor_Fill.cpp
Expand Up @@ -503,13 +503,6 @@ void EventProcessor_Fill::populatePlaceholderEvent (std::shared_ptr<MouseCatcher
}
}
}

if (eventid <= -1)
{
g_logger.error("populatePlaceholderEvent " + ERROR_LOC,
"Got a non-existent playlist event. Failing silently.");
return;
}
}

// Add each child to the playlist using the normal processEvent() mechanism
Expand Down

0 comments on commit bc03782

Please sign in to comment.