Skip to content

Handle null message in Server::closeClient#62

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

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

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 868fb35 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