Merge pull request #110 from runcommand/ensure-null

Ensure `tick_callback` is nullified when ignoring a callback
This commit is contained in:
Daniel Bachhuber 2016-10-26 06:39:47 -07:00 committed by GitHub
commit 146d553729

View file

@ -322,6 +322,7 @@ class Profiler {
}
if ( 'runcommand\Profile\Profiler->wp_tick_profile_begin()' === $callback ) {
$this->tick_callback = null;
return;
}