Skip to content

Proper place to call _CrtDumpMemoryLeaks #3973

@partmachine

Description

@partmachine

I have implemented a WinRT Component and created an App (Universal Windows Blank App) for testing.
I would like to call _CrtDumpMemoryLeaks to check for memory leaks but since the startup code is generated I cannot put it in wWinMain. I also tried the App destructor but the destructor isn't called.
What would be the proper place for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-C++/WinRTIssues related with C++/WinRT experiencearea-ExternalNot owned by the WinUI team, not actionable in this repository.questionteam-MarkupIssue for the Markup team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions