not found the funtion to delete a QueueSetHandle_t

Hello, A use xQueueCreateSet to create a QueueSetHandlet. At the end of my function, i want to delete this QueueSetHandlet. I not found the function to delete a QueueSetHandle_t. FreeRTOS 8.2.1 Can you help me? Thanks

not found the funtion to delete a QueueSetHandle_t

I think you can pass the QueueSetHandlet into vQueueDelete(), you may need to cast it to a QueueHandlet to prevent compiler warnings though. Note it is dangerous to delete a queue set if there are still queues in the set, so ensure to remove the queues first, and a queue can only be removed from a set if it is empty. Regards.