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:
- Open Konsole
- Open one more tab
- Try to close Konsole
- Pick option "Close Current Tab" (assuming you have not check 'Do not ask again')