summaryrefslogtreecommitdiff
path: root/db/reccache.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/reccache.h')
-rw-r--r--db/reccache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/reccache.h b/db/reccache.h
index 71352c4974b..4cb4e31bb21 100644
--- a/db/reccache.h
+++ b/db/reccache.h
@@ -225,7 +225,8 @@ public:
inline void dbunlocking() {
theRecCache.ejectOld();
- cc().top.clientStop();
+ Client *c = currentClient.get();
+ c->top.clientStop();
}
} /*namespace*/