message: Fix a quick bug in start-lumina-desktop where it would not stop properly if one of the main processes like compton was forcibly killed by the user ahead of time.
diff: @@ -31,19 +31,22 @@ void LSession::stopall(){
  void LSession::procFinished(){
  //Go through and check the status on all the procs to determine which one finished
  int stopped = 0;
  + //qDebug() << "Got Process Stopped Signal:";
  for(int i=0; i<PROCS.length(); i++){
  if(PROCS[i]->state()==QProcess::NotRunning){
  + //qDebug() << " - Stopped:" << PROCS[i]->objectName();
  stopped++;
  if(!stopping){
  //See if this process is the main desktop binary
  if(PROCS[i]->objectName()=="runtime"){ stopall(); }
  //if(PROCS[i]->program().section("/",-1) == "lumina-desktop"){ stopall(); } //start closing down everything
  //else{ PROCS[i]->start(QIODevice::ReadOnly); } //restart the process
  - break;
  + //break;
  }
  }
  }
  - if(stopping && stopped==PROCS.length()){
  + //qDebug() << " - Final Count:" << stopped << stopping;
  + if(stopping || stopped==PROCS.length()){
  QCoreApplication::exit(0);
  }
  }
  