Skip to content
  • Igor Kushnir's avatar
    ParseProjectJob: revert all requests in doKill(), not destructor · 5490b12c
    Igor Kushnir authored
    ParseProjectJob finishes normally when all its requests are satisfied by
    BackgroundParser, in which case there is nothing to revert. Both
    ProjectController and RunController abort parsing by killing the job.
    
    Apart from not doing unnecessary work when ParseProjectJob finishes
    normally, this commit prevents a hypothetical crash in case the
    BackgroundParser's destruction precedes a ParseProjectJob's destruction.
    5490b12c