Skip to content
  • David Edmundson's avatar
    Avoid hypothetical crash if output->init fails · 6325749f
    David Edmundson authored
    Summary:
    con->setOutput and crtc->setOutput  is called in Output::~Output so this
    is doing it twice redundantly.
    
    More importantly Output::~Output calls crtc->blank(), which means we
    need a valid CRTC object there.
    
    Test Plan: Compiles
    
    Reviewers: #plasma, graesslin
    
    Reviewed By: #plasma, graesslin
    
    Subscribers: bshah, plasma-devel, kwin, #kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D8779
    6325749f