apple / swift-distributed-actors

Peer-to-peer cluster implementation for Swift Distributed Actors
https://apple.github.io/swift-distributed-actors/
Apache License 2.0
584 stars 54 forks source link

Fix all the: Cannot schedule tasks on an EventLoop that has already shut down #1046

Open ktoso opened 2 years ago

ktoso commented 2 years ago

Sigh, it's back; ERROR: Cannot schedule tasks on an EventLoop that has already shut down. This will be upgraded to a forced crash in future SwiftNIO versions.

So hard and annoying to diagnose but we'll figure it out; We need to throw in a backtrace to where this prints to even know where these happen

He-Pin commented 1 year ago

Use shutdownGracefully?