Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2135: Better thread handling when starting main node action r=coot a=coot `handleSimpleNode` is a non-terminating function: it can only error. We need to use `finally` clause to ensure that an action runs when it errors. It is also more pragmatic to use `withAsync` to run peer list logging action, this way it will be cancelled once `handleSimjpleNode` errors. Since we don't care if that action fails we do not await on its termination. Co-authored-by: Marcin Szamotulski <profunctor@pm.me>
- Loading branch information