From 58bf72d5aae24aaffc79f9a4e101e79bbcc8b51b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 16 Mar 2016 09:09:24 -0400 Subject: [PATCH] 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. --- confluent_server/confluent/consoleserver.py | 1 - 1 file changed, 1 deletion(-) diff --git a/confluent_server/confluent/consoleserver.py b/confluent_server/confluent/consoleserver.py index 14313f72..0a88bc62 100644 --- a/confluent_server/confluent/consoleserver.py +++ b/confluent_server/confluent/consoleserver.py @@ -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