make a d-tor virtual

since a d-tor is non-trivial, it should be virtual if MatrixPanel_I2S_DMA is used as a base class
This commit is contained in:
Emil Muratov 2023-09-28 16:48:35 +09:00
parent 4b950041b1
commit d11fe50fc6

View file

@ -462,9 +462,8 @@ public:
}
// Obj destructor
~MatrixPanel_I2S_DMA()
virtual ~MatrixPanel_I2S_DMA()
{
dma_bus.release();
}