Skip to content

[Maintenance] Use checked locks for call count and thrown errors #124

@graycampbell

Description

@graycampbell

What area needs maintenance?

As pointed out here, callCount does not need to use an unchecked lock, it can use a checked one. The same thing should apply to thrownErrors.

Why is this improvement needed?

Using checked locks is stricter and more correct since callCount and thrownErrors use Sendable types.

Proposed solution

Use checked locks for callCount and thrownErrors.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

choreMaintenance not covered by other labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions