CI: repair sanitizer fixtures and client execution gates
Foundation / checks (ecs) (push) Successful in 2m33s
Foundation / checks (deploy) (push) Successful in 4m36s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 8m8s
Foundation / checks (checks) (push) Canceled after 10m47s
Foundation / checks (client) (push) Canceled after 10m49s
Foundation / checks (network) (push) Canceled after 10m48s
Foundation / checks (postgres) (push) Canceled after 10m49s
Foundation / checks (ecs) (push) Successful in 2m33s
Foundation / checks (deploy) (push) Successful in 4m36s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 8m8s
Foundation / checks (checks) (push) Canceled after 10m47s
Foundation / checks (client) (push) Canceled after 10m49s
Foundation / checks (network) (push) Canceled after 10m48s
Foundation / checks (postgres) (push) Canceled after 10m49s
This commit is contained in:
@@ -217,7 +217,12 @@ AuthStatus AuthClient::status() const {
|
||||
}
|
||||
std::optional<AuthGrant> AuthClient::take_grant() {
|
||||
std::lock_guard lock{impl_->mutex};
|
||||
return std::exchange(impl_->grant, {});
|
||||
auto& pending = impl_->grant;
|
||||
if (!pending.has_value())
|
||||
return {};
|
||||
auto grant = std::move(*pending);
|
||||
pending.reset();
|
||||
return std::optional<AuthGrant>{std::move(grant)};
|
||||
}
|
||||
#ifndef _WIN32
|
||||
std::unique_ptr<AuthPlatform> native_auth_platform(std::string_view) {
|
||||
|
||||
Reference in New Issue
Block a user