}
}
}
- if (hasEventsToFlush && myGroups.empty()) { // no more messages left in the queue, so, finalize the sketch processing
+ if (hasEventsToFlush && myGroups.empty()) {
+ // no more messages left in the queue, so, finalize the sketch processing
static Events_ID anID = Events_Loop::eventByName("SketchPrepared");
std::shared_ptr<Events_Message> aMsg(new Events_Message(anID, this));
Events_Loop::loop()->send(aMsg, false);