Skip to content

Commit

Permalink
Add saveChanges to ensure the updated DbGuid is persisted (#1029)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7c06391)
  • Loading branch information
calebmshafer authored and mergify-bot committed Mar 24, 2021
1 parent b58fb85 commit f437475
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@bentley/imodeljs-backend",
"comment": "",
"type": "none"
}
],
"packageName": "@bentley/imodeljs-backend",
"email": "31107829+calebmshafer@users.noreply.github.com"
}
1 change: 1 addition & 0 deletions core/backend/src/CheckpointManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export class V1CheckpointManager {
requestContext.enter();
}
} finally {
db.saveChanges();
db.close();
}

Expand Down

0 comments on commit f437475

Please sign in to comment.