Skip to content

Commit

Permalink
catch exceptions thrown from replay_network_sender dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 8, 2014
1 parent 9dd32c4 commit a784abd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/replay.cpp
Expand Up @@ -923,7 +923,9 @@ replay_network_sender::replay_network_sender(replay& obj) : obj_(obj), upto_(obj

replay_network_sender::~replay_network_sender()
{
try {
commit_and_sync();
} catch (...) {}
}

void replay_network_sender::sync_non_undoable()
Expand Down

0 comments on commit a784abd

Please sign in to comment.