Skip to content

Commit

Permalink
Fix recvfuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed Aug 30, 2024
1 parent 87628f7 commit 66097d0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/tools/recvfuzz/recvfuzz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,7 @@ void start() {
UdpUnreachCallback,
};
MsQuic = new MsQuicApi();
CxPlatWorkerPoolInit(&WorkerPool);
QUIC_STATUS Status = CxPlatDataPathInitialize(
0,
&DatapathCallbacks,
Expand Down Expand Up @@ -1009,10 +1010,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
int
QUIC_MAIN_EXPORT
main(int argc, char **argv) {
CxPlatSystemLoad();
CxPlatInitialize();
CxPlatWorkerPoolInit(&WorkerPool);

TryGetValue(argc, argv, "timeout", &RunTimeMs);
uint32_t RngSeed = 0;
if (!TryGetValue(argc, argv, "seed", &RngSeed)) {
Expand All @@ -1022,10 +1019,6 @@ main(int argc, char **argv) {
srand(RngSeed);
start();

CxPlatWorkerPoolUninit(&WorkerPool);
CxPlatUninitialize();
CxPlatSystemUnload();

return 0;
}

Expand Down

0 comments on commit 66097d0

Please sign in to comment.