This library seems to leak the component passed to MapTemplate. We don't remove the added component when the CarPlay is disconnected. This PR adds the code to remove the component from the window when the CarPlay is disconnected.
I'm not a professional Objective-C developer. Please let me know if there is something wrong with the implementation.
What has changed?
This library seems to leak the component passed to MapTemplate. We don't remove the added component when the CarPlay is disconnected. This PR adds the code to remove the component from the window when the CarPlay is disconnected.
I'm not a professional Objective-C developer. Please let me know if there is something wrong with the implementation.