From 9a9cd83b3c3d6574bac46f28c2ca9a34fb040e28 Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Sat, 23 Jul 2022 22:59:06 +0200 Subject: [PATCH] Fix fuzz mode --- mainapp.cpp | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/mainapp.cpp b/mainapp.cpp index ab3ad98..80eb56f 100644 --- a/mainapp.cpp +++ b/mainapp.cpp @@ -491,6 +491,7 @@ void MainApp::start() ThreadGlobals::assign(&auth); std::shared_ptr threaddata = std::make_shared(0, settings); + ThreadGlobals::assignThreadData(threaddata.get()); std::shared_ptr client = std::make_shared(fd, threaddata, nullptr, fuzzWebsockets, nullptr, settings.get(), true); std::shared_ptr subscriber = std::make_shared(fdnull, threaddata, nullptr, fuzzWebsockets, nullptr, settings.get(), true); -- libgit2 0.21.4