Skip to content

Commit

Permalink
Shut down the EventLoopGroupConnectionPool using an API that doesn't …
Browse files Browse the repository at this point in the history
…call EventLoopFuture.wait() internally.
  • Loading branch information
gwynne committed May 24, 2024
1 parent 5f47e19 commit fc67041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FluentMySQLDriver/FluentMySQLDriver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ struct _FluentMySQLDriver: DatabaseDriver {

// See `DatabaseDriver.shutdown()`.
func shutdown() {
self.pool.shutdown()
try? self.pool.syncShutdownGracefully()
}
}

0 comments on commit fc67041

Please sign in to comment.