This repository was archived by the owner on Dec 10, 2025. It is now read-only.
Commit 68f1471
committed
fix: handle uninitialized response in RespondingNettyPacket
- Modified `response` to use lazy initialization with `CompletableDeferred` for proper memory handling.
- Ensure exception completion if response is accessed after connection garbage collection.1 parent ee7f6cc commit 68f1471
File tree
1 file changed
+6
-1
lines changed- surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/netty/packet
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
0 commit comments