Fixed a small memory leak in the Control block of the ContiguousPoolManager
Ensure that capture variable destructors are properly called in the Function::~Function() destructor. Previously only the buffer was freed which prevented captured variables from properly deleting their own members.
Ensure that there are no underruns when decrementing the task counter.
In the Sequencer tests, sped up creation and tear-down of the fixture by not having to create all the Dispatcher variations each time.
Small changes to some test parameters to speed up when testing with Valgrind.
Testing performed
Ran all GTESTs as well as ran under Valgrind to make sure the tool is not reporting any leaks.
Signed-off-by: Alexander Damian adamian@bloomberg.net
Describe your changes
Control
block of theContiguousPoolManager
Function::~Function()
destructor. Previously only the buffer was freed which prevented captured variables from properly deleting their own members.Sequencer
tests, sped up creation and tear-down of the fixture by not having to create all the Dispatcher variations each time.Testing performed Ran all GTESTs as well as ran under Valgrind to make sure the tool is not reporting any leaks.