diff --git a/srsue/test/ttcn3/hdr/ttcn3_ue.h b/srsue/test/ttcn3/hdr/ttcn3_ue.h index 7e57fc766..7285cebe8 100644 --- a/srsue/test/ttcn3/hdr/ttcn3_ue.h +++ b/srsue/test/ttcn3/hdr/ttcn3_ue.h @@ -31,7 +31,7 @@ class ttcn3_ue : public phy_interface_syssim, public gw_interface_stack public: ttcn3_ue(); - virtual ~ttcn3_ue() {} + virtual ~ttcn3_ue(); int init(all_args_t args, srslte::logger* logger_, syssim_interface_phy* syssim_, const std::string tc_name_); diff --git a/srsue/test/ttcn3/src/ttcn3_ue.cc b/srsue/test/ttcn3/src/ttcn3_ue.cc index 9633f7794..d079ae5a9 100644 --- a/srsue/test/ttcn3/src/ttcn3_ue.cc +++ b/srsue/test/ttcn3/src/ttcn3_ue.cc @@ -96,6 +96,11 @@ int ttcn3_ue::init(all_args_t args, srslte::logger* logger_, syssim_interface_ph return SRSLTE_SUCCESS; } +ttcn3_ue::~ttcn3_ue() +{ + stop(); +} + void ttcn3_ue::stop() { if (stack) {