Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/Kitura/CircuitBreaker.git", from: "5.0.200"),
.package(url: "https://github.com/Kitura/LoggerAPI.git", from: "1.9.200"),
//.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.2.0"),
.package(url: "https://github.com/swift-server/async-http-client.git", .upToNextMinor(from: "1.1.0")),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.2.0"),
],
targets: [
.target(
Expand Down
3 changes: 0 additions & 3 deletions Sources/SwiftyRequest/RestRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,11 @@ fileprivate class MutableRequest {
public class RestRequest {

deinit {
/*
if MultiThreadedEventLoopGroup.currentEventLoop != nil {
session.shutdown(){ _ in }
} else {
try? session.syncShutdown()
}
*/
try? session.syncShutdown()
}

/// A default `HTTPClient` instance.
Expand Down