aboutsummaryrefslogtreecommitdiff
path: root/Sources/swiftGopherClient
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/swiftGopherClient')
-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.