You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a new QuiescingHelper() but then end up not using it, it'll crash your program for a leaked promise. There's probably a better solution for that. If it should remain the API contract we can probably give the user a better message than the leaked promise?
The text was updated successfully, but these errors were encountered:
Hmm, the API contract absolutely requires that you call makeServerChannelHandler exactly once. We can probably enforce that constraint using an atomic bool or a lock.
swift-nio-extras/Sources/NIOExtras/QuiescingHelper.swift
Line 229 in a75e92b
If you create a new
QuiescingHelper()
but then end up not using it, it'll crash your program for a leaked promise. There's probably a better solution for that. If it should remain the API contract we can probably give the user a better message than the leaked promise?The text was updated successfully, but these errors were encountered: