Skip to content

Commit 21d3770

Browse files
committed
Fix
1 parent bf05fd4 commit 21d3770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/R2GhidraCmdDecompiler.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void R2GhidraCmdDecompiler::decompileAt(RVA addr)
3030
return;
3131
}
3232
QString k = QString::number(addr);
33-
bool is_cached = false; // this->cache->contains (k);
33+
bool is_cached = this->cache->contains (k);
3434
task = new R2Task(is_cached? "?e": "pdgj @ " + k);
3535
connect(task, &R2Task::finished, this, [this, addr, k, is_cached]() {
3636
if (is_cached) {
@@ -75,7 +75,7 @@ void R2GhidraCmdDecompiler::decompileAt(RVA addr)
7575
std::string tmp = codeString.toStdString();
7676
code->code = strdup(tmp.c_str());
7777
if (!is_cached) {
78-
// this->cache->insert(k, r_codemeta_clone (code));
78+
this->cache->insert(k, r_codemeta_clone (code));
7979
}
8080
emit finished(code);
8181
});

0 commit comments

Comments
 (0)