CPTemplate is not released in CarPlay

I tested the official demo, it will be the same, is there a problem with CarPlay release?

This is the code for creating a list of 50 elements

        var listItems = [CPListItem]()
        for _ in 0..<50 {
            autoreleasepool {
                var item: CPListItem
                item = CPListItem(text: "标题", detailText: "标题22222", image: UIImage(named: "local_album_no"))
                listItems.append(item)
            }
        }
        let listTemplate = CPListTemplate(title: "最近播放", sections: [])

        let section = CPListSection(items: listItems)
                listTemplate.updateSections([section])

        self.carplayInterfaceController?.pushTemplate(
            listTemplate, animated: true, completion: nil)

When I exit the page, but the page does not free, causing memory to keep increasing.

I have also tested the official demo, and there are problems that will not be released.

Can you check if this is a bug in the system.

What can I do to avoid this problem?

CPTemplate is not released in CarPlay
 
 
Q