YenTheFirst/ruby-prof — comment on commit bed57d10e680f115b0f212bfab47d6efdc422651
File:  line 0
By YenTheFirst:

I believe so, yes. It fixes the issue on my machine.

I'd prefer if there were a good unit test to back it up, but that's difficult to do accurately, as it depends on the machine's behavior, and it only becomes apparent when there's been more than 3 seconds of CPU time consumed.