* PopAllActiveSnapshots pops all currently active snapshots, which is typically * necessary before committing. */
| 38 | * necessary before committing. |
| 39 | */ |
| 40 | void |
| 41 | PopAllActiveSnapshots(void) |
| 42 | { |
| 43 | while (ActiveSnapshotSet()) |
| 44 | { |
| 45 | PopActiveSnapshot(); |
| 46 | } |
| 47 | |
| 48 | /* If there was a snapshot on the portal, clear it */ |
| 49 | if (ActivePortal != NULL) |
| 50 | { |
| 51 | ActivePortal->portalSnapshot = NULL; |
| 52 | } |
| 53 | } |
no outgoing calls
no test coverage detected