Skip to content

Commit

Permalink
ReGenny: Reset m_mem_ui on attach
Browse files Browse the repository at this point in the history
  • Loading branch information
cursey committed Feb 12, 2024
1 parent 0fe8a34 commit 02e4d5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ReGenny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@ void ReGenny::attach() {
spdlog::info("Attaching to {} PID: {}...", m_project.process_name, m_project.process_id);

m_process = arch::open_process(m_project.process_id);
m_mem_ui = nullptr;

if (!m_process->ok()) {
action_detach();
Expand Down

0 comments on commit 02e4d5c

Please sign in to comment.