Skip to content

Commit

Permalink
fixup replays
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jun 10, 2014
1 parent 522988c commit 2b9fc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/synced_context.cpp
Expand Up @@ -37,7 +37,7 @@ bool synced_context::run_in_synced_context(const std::string& commandname, const
{
DBG_REPLAY << "run_in_synced_context:" << commandname << "\n";

if(!recorder.at_end())
if(!recorder.at_end() && store_in_replay)
{
//Most likeley we are in a replay now.
WRN_REPLAY << "invalid run_in_synced_context call ignored" << std::endl;
Expand Down

0 comments on commit 2b9fc97

Please sign in to comment.