2
0
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:
Jarrod Johnson 2016-03-16 09:09:24 -04:00
parent f15cf014e9
commit 58bf72d5aa

View File

@ -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