Skip to content

Conversation

@Rainyan
Copy link
Collaborator

@Rainyan Rainyan commented Sep 20, 2025

Description

Fix server crash due to dangling ptr if ghost is deleted mid-match.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan requested a review from a team September 20, 2025 20:31
@sunzenshen sunzenshen requested a review from a team September 20, 2025 21:32
Copy link
Contributor

@sunzenshen sunzenshen left a comment

Choose a reason for hiding this comment

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

Tested with running repeated matches with the following cvars to speed up match conclusion and subsequent map reload:

neo_round_sudden_death 0
neo_ctg_round_time_limit 0.10
neo_score_limit 2
neo_round_limit 2
sv_neo_preround_freeze_time 0

Game did not crash like the last time I mentioned in the Discord, so this may have helped. LGTM

@Rainyan Rainyan merged commit 532f8f7 into NeotokyoRebuild:master Sep 20, 2025
7 checks passed
@Rainyan Rainyan deleted the bug/ghost-remove-crash branch September 20, 2025 21:54
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.

Removing the ghost will freeze and/or crash the game

3 participants