summaryrefslogtreecommitdiff
path: root/src/storage/sqlite_store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/sqlite_store.cpp')
-rw-r--r--src/storage/sqlite_store.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/sqlite_store.cpp b/src/storage/sqlite_store.cpp
index 763100f411..e0757ecc36 100644
--- a/src/storage/sqlite_store.cpp
+++ b/src/storage/sqlite_store.cpp
@@ -68,8 +68,8 @@ SQLiteStore::~SQLiteStore() {
// Nothing to do. This function needs to be here because we're forward-declaring
// Database, so we need the actual definition here to be able to properly destruct it.
if (worker) {
- uv_worker_close(worker, [](uv_worker_t *worker) {
- delete worker;
+ uv_worker_close(worker, [](uv_worker_t *worker_handle) {
+ delete worker_handle;
});
}
}