Skip to content

fix: unlock scanner controls when switching to a new process#47

Merged
JeanExtreme002 merged 1 commit into
mainfrom
jeanextreme002/fix-scanner-lock-on-process-switch
Jun 5, 2026
Merged

fix: unlock scanner controls when switching to a new process#47
JeanExtreme002 merged 1 commit into
mainfrom
jeanextreme002/fix-scanner-lock-on-process-switch

Conversation

@JeanExtreme002
Copy link
Copy Markdown
Owner

Problem

When the target process exits, _check_process_alive disables the scanner controls by calling set_busy(True) ("operations disabled"). Switching to a new live process via File → Change Process… updated the badge, cleared results, and rebuilt the cheat table — but never reset the busy flag. As a result, the scan controls stayed disabled against the new target.

Fix

Reset self._scanner.set_busy(False) in _change_process, alongside the existing results/snapshot reset, so the scan controls re-enable for the new process.

This also covers the general case: every process switch now guarantees an unlocked state.

When the target process exits, _check_process_alive disables the scanner
via set_busy(True). Changing to a new live process did not reset that
state, leaving the scan controls disabled against the new target. Reset
set_busy(False) in _change_process so the controls re-enable.
@JeanExtreme002 JeanExtreme002 merged commit b0d9dfc into main Jun 5, 2026
12 checks passed
@github-actions github-actions Bot deleted the jeanextreme002/fix-scanner-lock-on-process-switch branch June 5, 2026 02:41
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