anmonteiro / anmonteiro/ocaml-h2

Do cleanup in examples

Offen
#235 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
OCaml
Sterne
318
Forks
37
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In the (client) examples resource cleanups is not done properly. That is, file descriptors are not closed once a request has been made. You could say it is *okay* as the operating system will do the cleanup at exit, but in my opinion I think it is crucial to show how to do proper resource cleanup in the example as well.

Please correct me if I am mistaken.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.