]> git.cworth.org Git - apitrace/commitdiff
replay: Fix --loop to work when --singlethread is in effect
authorCarl Worth <cworth@cworth.org>
Mon, 15 Apr 2013 17:55:41 +0000 (10:55 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 15 Apr 2013 17:55:41 +0000 (10:55 -0700)
The original implementation of --loop was made only to the code
implementing multi-threaded replay, (the RelayRunner class and
friends), so that when --singlethread is in effect, the --loop option
has no effect.

This commit fixes the bug by copying the --loop logic to the
single-threaded case as well.

Thanks to Peter Lohrmann for reporting the bug.


No differences found