fix crash

This commit is contained in:
王劲鹏
2021-04-06 16:33:01 +08:00
committed by osborn
parent a2c0a34a8a
commit cd5799fe26

View File

@@ -12,5 +12,5 @@ DoricContext *DoricContextManager::createContext(QString script, QString source,
} }
DoricContext *DoricContextManager::getContext(QString contextId) { DoricContext *DoricContextManager::getContext(QString contextId) {
return contextMap->take(contextId); return contextMap->value(contextId);
} }