swift-server-community / APNSwift

📱HTTP/2 Apple Push Notification Service built with swift - send push notifications to iOS, iPadOS, tvOS, macOS, watchOS, visionOS, and Safari!
Apache License 2.0
696 stars 105 forks source link

bugfix: when APNSClient deinit, syncShutdown HTTPClient #166

Closed wangzhizhou closed 1 year ago

wangzhizhou commented 2 years ago

image

FranzBusch commented 1 year ago

Thanks for opening this. The problem you are seeing is due to the fact that your code is dropping the reference to the APNSClient without calling shutdown. It is not something we can fix here

kylebrowning commented 1 year ago

beat me too it. Yes you should be managing shutting down, not us