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

Fixes #1983: WorldData cleared too early when still needed. #1986

Merged
merged 1 commit into from
Nov 16, 2015

Conversation

yueh
Copy link
Contributor

@yueh yueh commented Nov 2, 2015

The WorldData instance is removed too early during the server stop and not once the server is actually stopped.
This results in interdimensional networks to not be saved correctly as they no longer can access the StorageData to determine their grid.

Moved the cleanup to FMLServerStoppedEvent stage and extended the interface for IWorldData to contain a method this stage.

@orod-org
Copy link

orod-org commented Nov 2, 2015

SonarQube analysis reported 2 issues:

  • MAJOR 2 major

Watch the comments in this conversation to review them.

}

@EventHandler
private void serverStopped( final FMLServerStoppedEvent event )
Copy link

Choose a reason for hiding this comment

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

MAJOR Remove the unused method parameter(s) "event". rule
MAJOR Private method 'serverStopped' is never used. rule

Copy link
Member

Choose a reason for hiding this comment

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

I dont think that annotated methods should be major problems

@thatsIch thatsIch self-assigned this Nov 3, 2015
yueh added a commit that referenced this pull request Nov 16, 2015
Fixes #1983: WorldData cleared too early when still needed.
@yueh yueh merged commit 824ec1e into AppliedEnergistics:master Nov 16, 2015
@yueh yueh added this to the rv3 - 1.7.10 milestone Dec 9, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants