Commit 47b2131
committed
core: remove closeCalled check in ServerCallImpl.triggerEvent
Consistent with ServerCallImpl.request(int), do not short-circuit
on the non-volatile closeCalled boolean in triggerEvent. This ensures
ServerCallImpl delegates triggerEvent to the underlying ServerStream,
where stream lifecycle state and serialization are authoritatively
managed in the transport layer.
TAG=agy
CONV=e1bfa5a2-e855-4f79-abdd-ef2b264977be1 parent 91ec839 commit 47b2131
2 files changed
Lines changed: 3 additions & 5 deletions
File tree
- core/src
- main/java/io/grpc/internal
- test/java/io/grpc/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 259 | | |
263 | 260 | | |
264 | 261 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
| 508 | + | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
| |||
0 commit comments