xhh233 commented on PR #22455:
URL: https://github.com/apache/nuttx/pull/22455#issuecomment-7235946366

   Closing this PR: you are right that a wrong usage does not need handling, 
and the PM API already uses `DEBUGASSERT` for that class of mistake. Rather 
than add defensive code I am dropping the change and leaving 
`pm_domain_unregister()` as it is.
   
   Keeping #22171 open with your point noted, so the behaviour is documented 
where people will look for it. If you would prefer an assert in the unregister 
path instead of nothing, say so and I will send 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]

Reply via email to