Fix: race-conditions in GUI updates when downloading HTTP files (#11639)
This commit is contained in:
@@ -110,7 +110,7 @@ void NetworkSurveyHandler::OnFailure()
|
||||
this->loaded.notify_all();
|
||||
}
|
||||
|
||||
void NetworkSurveyHandler::OnReceiveData(const char *data, size_t)
|
||||
void NetworkSurveyHandler::OnReceiveData(std::unique_ptr<char[]> data, size_t)
|
||||
{
|
||||
if (data == nullptr) {
|
||||
Debug(net, 1, "Survey: survey results sent");
|
||||
|
Reference in New Issue
Block a user