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

Disconnect quietly from GameThread for MekHQ #3900

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

AaronGullickson
Copy link
Member

This uses the new feature in Megamek from PR MegaMek/megamek#5277 to disconnect quietly from the GameThread and AtBGameThread in MekHQ. So when users complete a scenario, they will no longer get the "Disconnected!" popup window which just gets in the way.

@AaronGullickson AaronGullickson self-assigned this Mar 23, 2024
@AaronGullickson AaronGullickson added (RFE) Enhancement Requests for Enhancement, new features or implementations GUI labels Mar 23, 2024
Copy link

codecov bot commented Mar 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 10.64%. Comparing base (fbbf4d8) to head (49928b1).
Report is 4 commits behind head on master.

Files Patch % Lines
MekHQ/src/mekhq/AtBGameThread.java 0.00% 1 Missing ⚠️
MekHQ/src/mekhq/GameThread.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3900      +/-   ##
============================================
- Coverage     10.64%   10.64%   -0.01%     
  Complexity     5487     5487              
============================================
  Files           834      834              
  Lines        113856   113858       +2     
  Branches      17193    17193              
============================================
  Hits          12119    12119              
- Misses       100528   100530       +2     
  Partials       1209     1209              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@HammerGS HammerGS merged commit d69b08c into MegaMek:master Mar 24, 2024
5 of 6 checks passed
HammerGS added a commit that referenced this pull request Mar 24, 2024
+ Fix #2990: Stratcon draw counts as loss
+ PR #3895: Correct Starting Cash Dice Count in Company Generator
+ PR #3900: Disconnect quietly from GameThread for MekHQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI (RFE) Enhancement Requests for Enhancement, new features or implementations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Story Arcs: get rid of disconnect from server
3 participants