AppDelegate object and all its members are never released.
As a solution, I proposed to use static unique_ptr that could destroy it at the end of the application.
Before applying the aforementioned fix I corrected also code style and correctness of main.cpp files in Android projects:
removed unused includes (reducing dependencies and compilation time)
AppDelegate object and all its members are never released. As a solution, I proposed to use static
unique_ptr
that could destroy it at the end of the application.Before applying the aforementioned fix I corrected also code style and correctness of
main.cpp
files in Android projects: