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