From 28a7bf51539cf58d8aa262169c3b7d66b827f42f Mon Sep 17 00:00:00 2001 From: Matthew LeVan Date: Thu, 18 Jan 2024 16:46:07 -0500 Subject: [PATCH] guard: do not focus in top-level --- rust/ares_guard/c-src/guard.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rust/ares_guard/c-src/guard.c b/rust/ares_guard/c-src/guard.c index afe8b76..45e74a0 100644 --- a/rust/ares_guard/c-src/guard.c +++ b/rust/ares_guard/c-src/guard.c @@ -81,10 +81,6 @@ void guard(void *(*f)(void *), void *arg, void **stack, void **alloc, void **ret goto fail; } - if ((err = _focus_guard()) != guard_sound) { - goto fail; - } - *ret = f(arg); return;