Skip to content
Snippets Groups Projects
Commit d2b86fa0 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Eva] avoid crash in -eva-flamegraph after reset

parent 9fdd9961
No related branches found
No related tags found
No related merge requests found
...@@ -442,7 +442,7 @@ let stop_doing_flamegraph callstack = ...@@ -442,7 +442,7 @@ let stop_doing_flamegraph callstack =
let reset_flamegraph () = let reset_flamegraph () =
match !oc_flamegraph with match !oc_flamegraph with
| None -> () | None -> ()
| Some fd -> close_out fd; stack_flamegraph := [] | Some fd -> close_out fd; stack_flamegraph := []; oc_flamegraph := None
(* -------------------------------------------------------------------------- *) (* -------------------------------------------------------------------------- *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment