Moved leftover event stop to the provider.
This commit is contained in:
1 parent
d8febfeb3a
commit
8396888ee2
2 files changed
+4
-7
No files matched your search
@@ -131,13 +131,6 @@ class Laps extends Container {
|
||||
|
||||
global $timestart;
|
||||
|
||||
/** @var Stopwatch $stopwatch */
|
||||
$stopwatch = $this['stopwatch'];
|
||||
|
||||
if ( $stopwatch->isStarted( 'Toolbar' ) ) {
|
||||
$stopwatch->stop( 'Toolbar' );
|
||||
}
|
||||
|
||||
$events = [];
|
||||
|
||||
foreach ( $this->providers as $provider ) {
|
||||
|
||||
Reference in new issue
Block a user