Skip to content

Commit

Permalink
release sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcFontaine committed Jan 15, 2020
1 parent 7a1201b commit c75e318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ntp-client/src/Network/NTP/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ oneshotClient tracer (ntpSettings, ntpStatus)
Socket.close v6
traceWith tracer NtpTraceSocketClosed
These (v4, _) (v6, _) -> do
-- TODO !!
Socket.close v6
Socket.close v4
traceWith tracer NtpTraceSocketClosed

lookupServers :: [String] -> IO ([AddrInfo], [AddrInfo])
Expand Down

0 comments on commit c75e318

Please sign in to comment.