mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[#3731] Fix crash caused by destruction order in d2 tests
Co-authored by: Razvan Becheriu <razvan@isc.org>
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace isc;
|
using namespace isc;
|
||||||
@@ -74,6 +73,7 @@ public:
|
|||||||
|
|
||||||
/// @brief Destructor
|
/// @brief Destructor
|
||||||
virtual ~D2ProcessTest() {
|
virtual ~D2ProcessTest() {
|
||||||
|
D2Controller::instance().reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief Callback that will invoke shutdown method.
|
/// @brief Callback that will invoke shutdown method.
|
||||||
|
Reference in New Issue
Block a user