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
When the connection fails, responsePromise get's deallocated (deinit is called) without being fulfilled.
This causes a fatal error in debug: "fatalError("leaking promise created at \(creation)", file: creation.file, line: creation.line)", file EventLoopFuture.swift.
The case is that when flatMap fails, there's no path in which the promise get's fulfilled.
This solution fulfills the promise, even if nothing is done with it.
0 commit comments