Skip to content

Conversation

ClementTsang
Copy link
Owner

@ClementTsang ClementTsang commented Apr 10, 2025

Description

A description of the change, what it does, and why it was made. If relevant (such as any change that modifies the UI), please provide screenshots of the changes:

Looks like a bug slipped through in #1706 so when stopping the program click events would continue. I could just fix the condition but I think it's fine to just unconditionally disable click events on cleanup.

Issue

If applicable, what issue does this address?

Closes: #

Testing

If relevant, please state how this was tested. All changes must be tested to work:

If this is a code change, please also indicate which platforms were tested:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, doc pages, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts
  • If relevant, new tests were added (don't worry too much about coverage)

@ClementTsang ClementTsang enabled auto-merge (squash) April 10, 2025 23:48
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 42.20%. Comparing base (69a4b59) to head (75a9052).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/lib.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1713      +/-   ##
==========================================
- Coverage   42.24%   42.20%   -0.05%     
==========================================
  Files         111      111              
  Lines       17455    17453       -2     
==========================================
- Hits         7374     7366       -8     
- Misses      10081    10087       +6     
Flag Coverage Δ
macos-14 37.73% <0.00%> (+<0.01%) ⬆️
ubuntu-latest 44.02% <75.00%> (-0.05%) ⬇️
windows-2019 37.66% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ClementTsang ClementTsang merged commit c68b190 into main Apr 10, 2025
37 checks passed
@ClementTsang ClementTsang deleted the fix_click_disable_cleanup branch April 10, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant