Re: [PATCH] liveupdate: use scoped_guard for mutex in session operations

From: Pratyush Yadav

Date: Fri Aug 14 2026 - 10:12:30 EST


On Fri, Aug 14 2026, Chenghao Duan wrote:

> Replace manually paired mutex_lock/unlock with scoped_guard to align
> with the coding style of the rest of the codebase and simplify locking
> paths.

No. This is done explicitly because we don't want to mix gotos with the
automatic cleanup-style locking. I don't think we should change this.

[...]

--
Regards,
Pratyush Yadav