Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually shutdown okhttp because the server may shutdown by itself (e.g. with a /stop command) #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bananasmoothii
Copy link

Hello, I have a /stop command calling among other MinecraftServer#stopCleanly(), which is calling Extension#terminate(). The problem is that the server never stops because of BuyCraft not shutting down its okhttp thread pools, and this is what I fixed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant