Remove unnecessary checkpoint

This commit is contained in:
Mattia Giambirtone 2024-03-26 11:57:03 +01:00
parent 1ba76ecdee
commit e014460138
1 changed files with 0 additions and 1 deletions

View File

@ -145,7 +145,6 @@ class TaskPool:
async def __aexit__(self, exc_type: type, exc_val: BaseException, exc_tb):
try:
if exc_val:
await checkpoint()
raise exc_val.with_traceback(exc_tb)
elif not self.done():
await suspend()