Skip to content
  • Michal Humpula's avatar
    gitwidget: disconnect living git processes at destr · a4989299
    Michal Humpula authored
    When the GitWidget is destroyed while there is still any git QProcess
    arround, the exit signal will be delivered to lambda with invalid
    closure.
    
    Function calls looks something like this:
    * ~GitWidget
    * ~QWidget
    * QWidget::deleteChildren
    * ~QProcess
    * emit QProcess::finished
    * call finished lambda referencing already destroyed GitWidget
    
    See: !430
    a4989299