Fix crash on "Close Current Tab" handling

Authored by hindenburg on Aug 18 2019, 8:51 PM.

Description

Fix crash on "Close Current Tab" handling

Summary:
_pluggedController disconnection happens when session is closed
by closeInNormalWay or closeInForceWay and calling
disconnectController leads to Konsole crash. Also a case when
closeInNormalWay is false was not considered.

BUG: 410607
FIXED-IN: 19.08.1

Test Plan:

  1. Open Konsole
  2. Open one more tab
  3. Try to close Konsole
  4. Pick option "Close Current Tab" (assuming you have not check 'Do not ask again')

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: hindenburg, konsole-devel, Konsole

Tags: Konsole

Differential Revision: https://phabricator.kde.org/D23246

Details

Committed
hindenburgAug 18 2019, 8:51 PM
Reviewer
Konsole
Differential Revision
D23246: Fix crash on "Close Current Tab" handling
Parents
R319:dc29be39a640: Keep perceived contrast in random background color
Branches
Unknown
Tags
Unknown