diff options
author | Simon Ser <contact@emersion.fr> | 2019-06-16 10:19:34 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-16 10:51:49 -0400 |
commit | 33127c545be731e373a9e4ccd38cd03da479c10f (patch) | |
tree | 6a0b5d7de7309bdfc01c323e13fe5f888834922d /backend/session/session.c | |
parent | 06a13203ddb9c085b1e514b09b424c19f058fd8d (diff) |
output: reset the pending state on failed commit
It can be surprising for callers to stash pending changes, commit, get a
failure, then set some other pending changes, commit again, and get another
failure because of the previously-pending changes.
Instead, make commit reset the pending state on failure.
Diffstat (limited to 'backend/session/session.c')
0 files changed, 0 insertions, 0 deletions