Skip to content

Commit

Permalink
python 3.12 changes how async can close
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Jun 7, 2024
1 parent c18d3a4 commit c3e5863
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qa/sbin/bgp
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ class BGPProtocol(asyncio.Protocol):

flushed(f'FSM issue {state}')
sys.exit(1)
self.writer.close()

def handle_open(self, msg):
option_asn = self.service.options['asn']
Expand Down

0 comments on commit c3e5863

Please sign in to comment.