permissions: make runtime config profile-backed

This commit is contained in:
Michael Bolin
2026-04-26 03:04:00 -07:00
parent 9881dc7306
commit 0d7e33845b
83 changed files with 1690 additions and 705 deletions
+8 -1
View File
@@ -541,7 +541,14 @@ impl WebSocketTestServer {
pub async fn shutdown(self) {
let _ = self.shutdown.send(());
let _ = self.task.await;
let mut task = self.task;
if tokio::time::timeout(Duration::from_secs(10), &mut task)
.await
.is_err()
{
task.abort();
let _ = task.await;
}
}
}