Skip to content

Commit abf0019

Browse files
committed
Explicitly await the registration task
1 parent cb195b9 commit abf0019

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gort/observer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@ async def expose(
831831
except Exception:
832832
await cancel_task(registration_task)
833833
raise
834+
else:
835+
await registration_task
834836

835837
if nexp == count and not keep_guiding:
836838
with self.register_overhead(f"expose:stop-guiders-{nexp}"):

0 commit comments

Comments
 (0)