Skip to content

Fix: Null reference in friend request removal and await async helper#2

Closed
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/social-friend-request-handling
Closed

Fix: Null reference in friend request removal and await async helper#2
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/social-friend-request-handling

Conversation

@seer-by-sentry
Copy link

Fixes SERVICES-2E. The issue was that: Unawaited async task HelperFunction_AcceptFriendRequest attempts to dereference a null UserSession after it's removed from WebSocketManager, causing NullReferenceException.

  • Added a null check for the source user's session when removing a pending friend request to prevent NullReferenceException if the user is offline.- Updated calls to HelperFunction_AcceptFriendRequest to await its execution, reflecting its new asynchronous nature.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 10511389

Not quite right? Click here to continue debugging with Seer.

@seer-by-sentry seer-by-sentry bot requested a review from x64-dev February 20, 2026 23:31
@x64-dev x64-dev marked this pull request as ready for review February 20, 2026 23:38
@x64-dev x64-dev closed this Feb 21, 2026
@x64-dev x64-dev deleted the seer/fix/social-friend-request-handling branch February 21, 2026 03:46
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.

1 participant