50.
If acquiring a resource fails, then it's an error condition that should be returned to the caller. If releasing a…
If acquiring a resource fails, then it's an error condition that should be returned to the caller. If releasing a successfully acquired resource fails, then it's a bug that should cause an assertion to be triggered.