mirror of
https://github.com/xcat2/confluent.git
synced 2025-04-18 19:18:59 +00:00
Prevent double firing of event in consolesession
There is a timing scenario where an event could be double fired. Prevent by clearing the event when sent.
This commit is contained in:
parent
e9f2d7eb63
commit
8bf7a55b68
@ -552,6 +552,7 @@ class ConsoleSession(object):
|
||||
self.databuffer.append(data)
|
||||
if self._evt:
|
||||
self._evt.send()
|
||||
self._evt = None
|
||||
|
||||
def get_next_output(self, timeout=45):
|
||||
"""Poll for next available output on this console.
|
||||
|
Loading…
x
Reference in New Issue
Block a user