Skip to content

Verify that AccessPass has no active connections#2802

Merged
martinsander00 merged 1 commit intomainfrom
ms/2220
Feb 6, 2026
Merged

Verify that AccessPass has no active connections#2802
martinsander00 merged 1 commit intomainfrom
ms/2220

Conversation

@martinsander00
Copy link
Contributor

@martinsander00 martinsander00 commented Feb 3, 2026

Resolves: #2220

Summary of Changes

  • Now we only allow closing an AccessPass when connection_count == 0; otherwise the instruction fails
  • New test verifies close fails when connection_count > 0 and succeeds when it’s 0

Testing Verification

  • New unit test added

@martinsander00 martinsander00 merged commit 240cdd0 into main Feb 6, 2026
24 checks passed
@martinsander00 martinsander00 deleted the ms/2220 branch February 6, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In CloseAccessPass, verify that accesspass.connection_count == 0

2 participants