vapor / async-kit

Sugary extensions for the SwiftNIO library
MIT License
71 stars 25 forks source link

Quick fix for thread safety issue in EventLoopFutureQueue #51

Closed gwynne closed 4 years ago

gwynne commented 4 years ago

Wraps append(onPrevious:generator:) in an EventLoop.flatSubmit() invocation to serve as a stopgap fix against thread-unsafe behavior in the method body. Change was authored by @calebkleveter. Thanks to @Lukasa for the heads-up on the problem.

Checklist