mirror of
https://github.com/google/bumble.git
synced 2026-06-02 07:47:03 +00:00
emit flush event when transport lost
This commit is contained in:
@@ -459,6 +459,8 @@ class Host(AbortableEventEmitter):
|
||||
if self.pending_response:
|
||||
self.pending_response.set_exception(TransportLostError('transport lost'))
|
||||
|
||||
self.emit('flush')
|
||||
|
||||
def on_hci_packet(self, packet):
|
||||
logger.debug(f'{color("### CONTROLLER -> HOST", "green")}: {packet}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user