Skip to content

Cleanup startup thread#465

Open
Dueris wants to merge 1 commit into
PaperMC:ver/26.1.xfrom
Dueris:feat/clean-main-thread
Open

Cleanup startup thread#465
Dueris wants to merge 1 commit into
PaperMC:ver/26.1.xfrom
Dueris:feat/clean-main-thread

Conversation

@Dueris

@Dueris Dueris commented Jun 1, 2026

Copy link
Copy Markdown

This cleans the startup thread by just exiting the startup thread instead of sleeping forever, and also removes a weird RegionizedServer instance that's created in MinecraftServer

@R00tB33rMan R00tB33rMan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@D3st0ny D3st0ny left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

javividev added a commit to ValthorneMC/Folia that referenced this pull request Jun 16, 2026
…#463, PaperMC#465

- PaperMC#465: Cleanup startup thread (remove regionizedServer field, return instead of sleep loop)
- PaperMC#463: Generate crash reports on region/scheduler crash
- PaperMC#461: Fix chat during shutdown via IS_SHUTDOWN flag in RegionShutdownThread
- PaperMC#391: Expand TPS API with getRegionAverageTickTimes() methods
- PaperMC#459: Fix player autosave by setting lastSave on join and checking LAST_SAVE_ABSENT

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
javividev added a commit to ValthorneMC/Folia that referenced this pull request Jun 16, 2026
Removing the regionizedServer field and replacing the startup loop with
return changed line counts in two hunks but their headers were not updated.
Also corrects the +N offsets of all subsequent MinecraftServer.java hunks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
javividev added a commit to ValthorneMC/Folia that referenced this pull request Jun 16, 2026
…#463, PaperMC#465

- PaperMC#465: Cleanup startup thread (remove regionizedServer field, return instead of sleep loop)
- PaperMC#463: Generate crash reports on region/scheduler crash
- PaperMC#461: Fix chat during shutdown via IS_SHUTDOWN flag in RegionShutdownThread
- PaperMC#391: Expand TPS API with getRegionAverageTickTimes() methods
- PaperMC#459: Fix player autosave by setting lastSave on join and checking LAST_SAVE_ABSENT
javividev added a commit to ValthorneMC/Folia that referenced this pull request Jun 16, 2026
Removing the regionizedServer field and replacing the startup loop with
return changed line counts in two hunks but their headers were not updated.
Also corrects the +N offsets of all subsequent MinecraftServer.java hunks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants