clean terminate
This commit is contained in:
parent
423704f63d
commit
e60fbf4f99
1 changed files with 5 additions and 0 deletions
5
main.cpp
5
main.cpp
|
@ -705,8 +705,13 @@ int main(int argc, char *argv[])
|
|||
|
||||
cnsl->stop_thread();
|
||||
|
||||
auto dc11_devices = *b->getDC11()->get_comm_interfaces(); // TODO fix RAII
|
||||
|
||||
delete b;
|
||||
|
||||
for(auto & c: dc11_devices)
|
||||
delete c;
|
||||
|
||||
delete cnsl;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue