Skip to content

Commit

Permalink
TCP: Fix shutdown
Browse files Browse the repository at this point in the history
All "on shutdown" checks expect this to be None and not absent.

Closes: #279
  • Loading branch information
chrysn committed Aug 17, 2022
1 parent e076e74 commit f24c04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiocoap/transports/tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,4 +403,4 @@ async def shutdown(self):
for c in self._pool.values():
# FIXME: it would be nicer to release them
c.abort("Server shutdown")
del self._tokenmanager
self._tokenmanager = None

0 comments on commit f24c04e

Please sign in to comment.