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:
parent
4b950041b1
commit
d11fe50fc6
1 changed files with 1 additions and 2 deletions
|
@ -462,9 +462,8 @@ public:
|
|||
}
|
||||
|
||||
// Obj destructor
|
||||
~MatrixPanel_I2S_DMA()
|
||||
virtual ~MatrixPanel_I2S_DMA()
|
||||
{
|
||||
|
||||
dma_bus.release();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue