-
Harald Sitter authored
previously the error scenario didn't return early because of the close, so instead put the close in a scopeguard and return immediately after error. otherwise we'd emit both error and finished resulting in a state violation.
9ca35979