Hi everyone, I am writing here concerning the destructor of a new block.
I want to print out some information recorded during runtime ( # packet sent, # packet received... and so). So, I set "std::cout..." statement inside the destructor of my block, following these 2 tutorials : http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide When I click on the cross symbol to exit my application, the destructor of my block is never called. *There is my destructor :* * /* * Our virtual destructor. */ my_block_impl::~my_block_impl() {* * std::cout << "destructor called" << std::endl;* * }* Could someone help me solving this problem? Thanks in advance. Marius -- *CACHELIN Marius* *Ingénieur Systèmes, Réseaux et Télécommunications* [email protected]
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
