From f3b7919a534c8758c26836a81cf20ce49d045daa Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 7 Jan 2023 01:09:36 +0100 Subject: Fix crash in migrations during secrets deletion We need to block the migrations returning until the migrations are done. Fixes #1258 --- src/Cache_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Cache_p.h') 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> toLoad, std::function - callback); + callback, + bool databaseReadyOnFinished = false); void storeSecretInStore(const std::string name, const std::string secret); void deleteSecretFromStore(const std::string name, bool internal); -- cgit 1.4.1