Skip to content

Commit

Permalink
Abandon this Task<> to the GC as well
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Dec 30, 2022
1 parent df5f83f commit 89907ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions AltCover.Avalonia/MainWindow.fs
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,7 @@ type MainWindow() as this =
l.Shutdown())

this.FindControl<MenuItem>("ShowAbout").Click
|> Event.add (fun _ ->
use _ = AboutBox().ShowDialog(this)
())
|> Event.add (fun _ -> AboutBox().ShowDialog(this) |> ignore)

let openFile = Event<String option>()

Expand Down

0 comments on commit 89907ea

Please sign in to comment.