diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-01-07 01:09:36 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-01-07 01:09:36 +0100 |
commit | f3b7919a534c8758c26836a81cf20ce49d045daa (patch) | |
tree | 1a8efec8e85de9f3b80a7e4d8fb45d2a37a33f41 /src/Cache_p.h | |
parent | Merge pull request #1212 from ZhymabekRoman/master (diff) | |
download | nheko-f3b7919a534c8758c26836a81cf20ce49d045daa.tar.xz |
Fix crash in migrations during secrets deletion
We need to block the migrations returning until the migrations are done. Fixes #1258
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r-- | src/Cache_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h index 69d0240e..306194de 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h @@ -332,7 +332,8 @@ private: void loadSecretsFromStore( std::vector<std::pair<std::string, bool>> toLoad, std::function<void(const std::string &name, bool internal, const std::string &value)> - callback); + callback, + bool databaseReadyOnFinished = false); void storeSecretInStore(const std::string name, const std::string secret); void deleteSecretFromStore(const std::string name, bool internal); |