mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Close console on disconnect
Fixes leftover console on user initiated disconnect.
This commit is contained in:
parent
59789bae7d
commit
d9be6ae2e9
@ -453,6 +453,7 @@ class ConsoleHandler(object):
|
||||
|
||||
def _got_disconnected(self):
|
||||
if self.connectstate != 'unconnected':
|
||||
self._console.close()
|
||||
self.connectstate = 'unconnected'
|
||||
self.log(
|
||||
logdata='console disconnected', ltype=log.DataTypes.event,
|
||||
|
Loading…
Reference in New Issue
Block a user