Hello, I am having some troubles getting an async task to stop when the server does.
The thread the task is running on appears to never stop, even when the server does. I know this is how Java threads work, but is it how Sponge tasks work? If so, how can I prevent this from happening?
Why didn’t you use an interruption to stop the threads to allow the tasks to exit and perform cleanup logic instead of setting to daemon? I guess it’s more of a question directed at @sibomots, perhaps he would be better suited to answer this.