mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
Fix teardown
This commit is contained in:
@@ -111,7 +111,8 @@ function runBenchmarks() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onComplete() {
|
onComplete() {
|
||||||
global.getScope().benchmark.teardown()
|
const teardown = global.getScope().benchmark.teardown
|
||||||
|
if (teardown) teardown()
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user