aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-07-28 00:07:29 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-07-28 00:07:29 -0600
commite50c7cd206b14e1ae0d474c36f302f53f2123f97 (patch)
tree861f2b7465276f1f6955b55b43af70b3a5bf3be7
parentdfbc19e5e78d87ec735839333a647cae409f53eb (diff)
shutdown gracefully
-rw-r--r--Sources/swiftGopherClient/gopherClient.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/swiftGopherClient/gopherClient.swift b/Sources/swiftGopherClient/gopherClient.swift
index 389daf9..dac4e6e 100644
--- a/Sources/swiftGopherClient/gopherClient.swift
+++ b/Sources/swiftGopherClient/gopherClient.swift
@@ -32,7 +32,7 @@ public class GopherClient {
}
deinit {
- try? group.syncShutdownGracefully()
+ self.shutdownEventLoopGroup()
}
/// Sends a request to a Gopher server.