Skip to content

Commit

Permalink
added await to abort transaction statement
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Dec 6, 2023
1 parent 6bace00 commit 7c68b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const syncStateUpdate = async () => {
if (syncTransaction) {
debug.log('Deliberately aborting any current transaction');
try {
syncTransaction.abort();
await syncTransaction.abort();
} catch {
// ignore
}
Expand Down

0 comments on commit 7c68b8e

Please sign in to comment.