clean terminate

This commit is contained in:
folkert van heusden 2024-05-17 19:23:39 +02:00
parent 423704f63d
commit e60fbf4f99
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -705,8 +705,13 @@ int main(int argc, char *argv[])
cnsl->stop_thread(); cnsl->stop_thread();
auto dc11_devices = *b->getDC11()->get_comm_interfaces(); // TODO fix RAII
delete b; delete b;
for(auto & c: dc11_devices)
delete c;
delete cnsl; delete cnsl;
return 0; return 0;