2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +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:
Andrei Pavel 2025-02-26 11:04:57 +02:00
parent c366b7b66f
commit 0b42c802f4
No known key found for this signature in database
GPG Key ID: D4E804481939CB21

View File

@ -20,7 +20,6 @@
#include <gtest/gtest.h>
#include <functional>
#include <sstream>
using namespace std;
using namespace isc;
@ -74,6 +73,7 @@ public:
/// @brief Destructor
virtual ~D2ProcessTest() {
D2Controller::instance().reset();
}
/// @brief Callback that will invoke shutdown method.