Added check for Toolbar event start before closing it.
This commit is contained in:
1 parent
3edaf2dbc9
commit
68ae657962
1 file changed
+2
@@ -222,7 +222,9 @@ class Laps {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( self::$stopwatch->isStarted( 'Toolbar' ) ) {
|
||||||
self::$stopwatch->stop( 'Toolbar' );
|
self::$stopwatch->stop( 'Toolbar' );
|
||||||
|
}
|
||||||
|
|
||||||
$events = self::$stopwatch->getSectionEvents( '__root__' );
|
$events = self::$stopwatch->getSectionEvents( '__root__' );
|
||||||
$start = $timestart * 1000;
|
$start = $timestart * 1000;
|
||||||
|
|||||||
Reference in new issue
Block a user