core: remove temp files directory when deleting storage (#2446)
This commit is contained in:
@@ -84,6 +84,8 @@ deleteStorage = do
|
||||
removeFile chatDb
|
||||
removeFile agentDb
|
||||
mapM_ removePathForcibly filesPath
|
||||
tmpPath <- readTVarIO =<< asks tempDirectory
|
||||
mapM_ removePathForcibly tmpPath
|
||||
|
||||
data StorageFiles = StorageFiles
|
||||
{ chatDb :: FilePath,
|
||||
|
||||
Reference in New Issue
Block a user