Destroy a generator request, including the per-txn continuation.
| 190 | |
| 191 | // Destroy a generator request, including the per-txn continuation. |
| 192 | static void |
| 193 | GeneratorRequestDestroy(GeneratorRequest *grq, TSVIO vio, TSCont contp) |
| 194 | { |
| 195 | if (vio) { |
| 196 | TSVConnClose(TSVIOVConnGet(vio)); |
| 197 | } |
| 198 | |
| 199 | TSContDestroy(contp); |
| 200 | delete grq; |
| 201 | } |
| 202 | |
| 203 | static off_t |
| 204 | GeneratorParseByteCount(const char *ptr, const char *end) |
no test coverage detected