Files @ f328e80a974a
Branch filter:

Location: libtransport.git/tests/libtransport/main.h

Vladimír Matěna
Fix possible double free in ThreadPool

This makes HTTPRequestTest::GETThreadPool test pass deterministicaly.

Problem was static slot used to cleanup threads. When ThreadPool was instantiated
multiple times, threads were also clened up multiple times resulting in segfault.
1
2
3
4
5
6
#ifndef TESTS_MAIN_H
#define TESTS_MAIN_H
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>

#endif