- Added proc_get_status() check in readProcessOutput() to detect when
the game process has exited
- When process exits, read any remaining output and send to client
- Send system message to notify client that game process has ended
- Close client connection cleanly when process exits
- Prevents server from trying to read/write to dead process pipes
- Prevents "broken pipe" errors and connection hangs
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
||
|---|---|---|
| .idea | ||
| bin | ||
| src | ||
| test | ||
| web | ||
| .DS_Store | ||
| .gitignore | ||
| box.json | ||
| build-phar.php | ||
| build.sh | ||
| composer.json | ||
| composer.lock | ||
| save.json | ||
| start-server.sh | ||
| test-websocket.php | ||
| websocket-process-server.php | ||
| websocket-server.php | ||