ttcn3: call stop in UE dtor

fixes stop issue of TTCN3 DUT
master
Andre Puschmann 4 years ago
parent d671e39c93
commit f32d9f8322

@ -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_);

@ -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) {

Loading…
Cancel
Save