Fix crash on "Close Current Tab" handling

Authored by AndreyYashkin on Aug 18 2019, 9:33 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')

Details

Committed
hindenburgAug 18 2019, 9:36 PM
Parents
R319:770d573552bb: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown