CommunityToolkit/WindowsCommunityToolkit

Sample App has a memory leak issue

Open

#2,608 建立於 2018年10月26日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)C# (1,403 fork)batch import
bug :bug:help wantedsample app 🖼to discuss

倉庫指標

Star
 (5,708 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I'm submitting a...

  • Bug report (I searched for similar issues and did not find one)

Current behavior

The sample app keeps references to sample objects after they are no longer used.

Expected behavior

The sample app should clean up all references to sample objects once the sample is closed

Minimal reproduction of the problem with instructions

  • Run the sample app through Visual Studio
  • Take a memory snapshot
  • Navigate through different samples and navigate back to the initial page
  • Take another memory snapshot and compare

Environment

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] Insider Build (build number: )

App min and target version:
- [x] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [x] 2017 Preview (version: 15.9.0 Preview 4)

貢獻者指南