Commit Graph

2 Commits

Author SHA1 Message Date
Luca Fulchir b682068dca
Test and fix shutdowns
we have a Quick but partial shutdown, which lets the async "threads"
work in the background and shutdown after a bit more time

and the graceful/full shutdown, which waits for everything.

Unfortunately `Drop` can't manage async and blocks everything,
no way to yeld either, so if we only have a thread
we would deadlock if we tried to stop things gracefully

Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-11 22:45:40 +02:00
Luca Fulchir aff1c313f5
Cleanup & incomplete tests
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-10 14:42:24 +02:00