xhh233 commented on PR #22455: URL: https://github.com/apache/nuttx/pull/22455#issuecomment-7235520048
Fair point — the check only guards a usage error, and the PM API already has `DEBUGASSERT` for that class of mistake. I will drop the added branch and keep `pm_domain_unregister()` unchanged, so this PR goes away rather than adding defensive code. If you would rather have an assert there instead of nothing, say so and I will add exactly that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
