Skip to content

Commit

Permalink
fix: do not clear smesher metadata if delete files false
Browse files Browse the repository at this point in the history
  • Loading branch information
maparr committed Jul 24, 2023
1 parent 45b12d5 commit 4fa6242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion desktop/SmesherManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ class SmesherManager extends AbstractManager {
const res = await this.smesherService.stopSmeshing({
deleteFiles: deleteFiles || false,
});
await this.clearSmesherMetadata();

deleteFiles && (await this.clearSmesherMetadata());

await updateSmeshingOpts(
this.genesisID,
Expand Down

0 comments on commit 4fa6242

Please sign in to comment.