[TransitionHelper] CancellationTokenSource is disposable and needs handling for clean-up
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Bắt đầu bằng cách đọc components/TransitionHelper/src/TransitionHelper.Animation.cs, đặc biệt là trường _currentAnimationCancellationTokenSource và quyền sở hữu của nó bởi TransitionHelper. Chạy bản build CommunityToolkit.Labs.WinUI.TransitionHelper.csproj để tái hiện CA1001; hoàn tất khi tài nguyên có chiến lược dọn dẹp rõ ràng và cảnh báo được xử lý.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue with an inner disposable reference that needs to be cleaned up by the parent class to avoid the C# compiler warning:
D:\a\Labs-Windows\Labs-Windows\components\TransitionHelper\src\TransitionHelper.Animation.cs(30,29): error CA1001: Type 'TransitionHelper' owns disposable field(s) '_currentAnimationCancellationTokenSource' but is not disposable [D:\a\Labs-Windows\Labs-Windows\components\TransitionHelper\src\CommunityToolkit.Labs.WinUI.TransitionHelper.csproj]
For now this is ignored. Not sure how we want to handle this as it is a resourced helper...
Originally posted by @michael-hawker in https://github.com/CommunityToolkit/Labs-Windows/issues/354#issuecomment-1444748087
- Ngôn ngữ chính
- C#
- Star
- 485
- Fork
- 89
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CommunityToolkit/Labs-Windows
-
bug :bug:
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 80/100
CommunityToolkit/Labs-Windows#815 ·
-
bug :bug:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
CommunityToolkit/Labs-Windows#816 ·
-
bug :bug:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
CommunityToolkit/Labs-Windows#814 ·
-
experiment :test_tube:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
CommunityToolkit/Labs-Windows#812 ·
-
ux :paintbrush:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
CommunityToolkit/Labs-Windows#808 · 1 bình luận ·
Tất cả issue của CommunityToolkit/Labs-Windows
Issue tương tự
-
devtools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:no-new-fix-pr clawsweeper:not-repro-on-main impact:ux-release-blocker issue-rating: 🦪 silver shellfish P0
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openclaw/openclaw-windows-node#1843 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
kind:ux size:S type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
elsa-workflows/elsa-foundation#3256 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Có thể đã có người làm @Wurschdhaud đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
pyrevitlabs/pyRevit#3817 ·
Maintainer thường phản hồi trong vòng 1 ngày