|
self.channelCollectorPromise = group.next().makePromise() |
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?
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?