Skip to content

Commit

Permalink
Fix with profiling option (#8266)
Browse files Browse the repository at this point in the history
close #8156

Followup to #8254. For some reason, I did not commit this change to the original PR.
  • Loading branch information
4e6 authored Nov 9, 2023
1 parent 6be94a8 commit 210c190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/runner/src/main/scala/org/enso/runner/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,7 @@ object Main {
}
sampler.start()
profilingConfig.profilingTime.foreach(sampler.stop(_)(executor))
sys.addShutdownHook(sampler.stop())

try {
main
Expand Down

0 comments on commit 210c190

Please sign in to comment.