Skip to content

Handle null message in Server::closeClient#63

Merged
japertechnology merged 1 commit into
masterfrom
codex/update-error-handling-in-closeclient-q85prs
Sep 2, 2025
Merged

Handle null message in Server::closeClient#63
japertechnology merged 1 commit into
masterfrom
codex/update-error-handling-in-closeclient-q85prs

Conversation

@japertechnology
Copy link
Copy Markdown
Owner

Summary

  • guard Server::closeClient against null message arguments and log an error instead of asserting
  • add unit test verifying that closeClient handles a null message without throwing

Testing

  • cmake -S . -B build -DINPUTLEAP_BUILD_GUI=OFF -DINPUTLEAP_USE_EXTERNAL_GTEST=ON
  • cmake --build build --target unittests (fails: ‘EventType’ was not declared in this scope)

https://chatgpt.com/codex/tasks/task_b_68b6516ed3808325883e0f5a09467e56

@japertechnology japertechnology merged commit e9db90f into master Sep 2, 2025
3 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant