mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 13:13:18 +00:00
Do not remove databuffer on close
If exiting from a shell session, the databuffer will contain needed info for the client to work properly. Preserve databuffer existence. Responsibility for deleting the object should be in the hands of the caller.
This commit is contained in:
parent
f15cf014e9
commit
58bf72d5aa
@ -535,7 +535,6 @@ class ConsoleSession(object):
|
||||
def destroy(self):
|
||||
if self.registered:
|
||||
self.conshdl.detachsession(self)
|
||||
self.databuffer = None
|
||||
if self._evt:
|
||||
self._evt.send()
|
||||
self._evt = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user