mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-05-30 02:49:12 -04:00
fix: Clean request id by clear()
This commit is contained in:
@@ -390,7 +390,7 @@ void QuickRefactorHandler::cancelRequest()
|
|||||||
|
|
||||||
const auto id = m_lastRequestId;
|
const auto id = m_lastRequestId;
|
||||||
m_isRefactoringInProgress = false;
|
m_isRefactoringInProgress = false;
|
||||||
m_lastRequestId = {};
|
m_lastRequestId.clear();
|
||||||
|
|
||||||
auto it = m_activeRequests.find(id);
|
auto it = m_activeRequests.find(id);
|
||||||
if (it != m_activeRequests.end()) {
|
if (it != m_activeRequests.end()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user