fix: Clean request id by clear()

This commit is contained in:
Petr Mironychev
2026-05-28 17:58:33 +02:00
parent bfcd8dc1fb
commit f8adf4d264

View File

@@ -390,7 +390,7 @@ void QuickRefactorHandler::cancelRequest()
const auto id = m_lastRequestId;
m_isRefactoringInProgress = false;
m_lastRequestId = {};
m_lastRequestId.clear();
auto it = m_activeRequests.find(id);
if (it != m_activeRequests.end()) {