Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix build
  • Loading branch information
dsyme committed Mar 21, 2018
commit da185058fff1d88a095c0fe77ba71857442764c6
3 changes: 1 addition & 2 deletions src/fsharp/fsi/fsimain.fs
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,8 @@ let MainMain argv =
let argv = System.Environment.GetCommandLineArgs()
use e = new SaveAndRestoreConsoleEncoding()

let timesFlag = argv |> Array.exists (fun x -> x = "/times" || x = "--times")

#if !FX_NO_APP_DOMAINS
let timesFlag = argv |> Array.exists (fun x -> x = "/times" || x = "--times")
if timesFlag then
AppDomain.CurrentDomain.ProcessExit.Add(fun _ ->
let stats = ILBinaryReader.GetStatistics()
Expand Down