Skip to content

Commit f4045a1

Browse files
committed
finally...
1 parent a2b99f4 commit f4045a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylibagent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def start(self, checks: Iterable[Type[CheckBase]],
205205
try:
206206
self._loop.run_until_complete(
207207
self._start(checks, asset_name, asset_kind))
208-
except Exception:
208+
finally:
209209
self._loop.run_until_complete(self._loop.shutdown_asyncgens())
210210
self._loop.close()
211211

0 commit comments

Comments
 (0)