Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
fix: await blockstore close
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Mar 20, 2023
1 parent 519b3ed commit ac5ff61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function createWindow () {
} finally {
if (car && car.blockstore && car.blockstore.close) {
try {
car.blockstore.close()
await car.blockstore.close()
} catch (err) {
console.error('failed to close blockstore', err)
}
Expand Down

0 comments on commit ac5ff61

Please sign in to comment.