From e0a09ccf31b815585e33c3507ad15830bbb3baca Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 4 Apr 2023 16:14:36 +0200 Subject: [PATCH] private: don't block context related problems, just emit a warning --- src/pipewire/private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pipewire/private.h b/src/pipewire/private.h index ec8ce7656..74d02a4b9 100644 --- a/src/pipewire/private.h +++ b/src/pipewire/private.h @@ -389,11 +389,11 @@ int pw_loop_check(struct pw_loop *loop); #define ensure_loop(loop,...) ({ \ int res = pw_loop_check(loop); \ if (res != 1) { \ - pw_log_error("%s called from wrong context, check locking: %s", \ + pw_log_warn("%s called from wrong context, check thread and locking: %s", \ __func__, spa_strerror(res)); \ - fprintf(stderr, "*** %s called from wrong context, check locking: %s\n",\ + fprintf(stderr, "*** %s called from wrong context, check thread and locking: %s\n",\ __func__, spa_strerror(res)); \ - __VA_ARGS__; \ + /* __VA_ARGS__ */ \ } \ })