Skip to content

Commit

Permalink
resume for flush
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Aug 21, 2012
1 parent 925302f commit d9b9391
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/perftools.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,11 @@ cpuprofiler_flush(VALUE self)
{
if (!bProfilerRunning)
return Qfalse;
if (bProfilerPaused)
ProfilerResume();
ProfilerFlush();
if (bProfilerPaused)
ProfilerPause();
return Qtrue;
}

Expand Down

0 comments on commit d9b9391

Please sign in to comment.