Skip to content

Fix CancelPending crashing when caller is self#542

Open
azzyr wants to merge 1 commit into
mapbase-mp-2025from
fix/cancelpending-caller-self
Open

Fix CancelPending crashing when caller is self#542
azzyr wants to merge 1 commit into
mapbase-mp-2025from
fix/cancelpending-caller-self

Conversation

@azzyr

@azzyr azzyr commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

This fixes the crash outlined in this VDC article https://developer.valvesoftware.com/wiki/Logic_relay

Some TF2 maps have non-logic_relay entities erroneously fire this input on themselves, which was previously left unhandled. Since Mapbase added CancelPending to the base entity class, it always handles the input and leads to a double-free crash


Does this PR close any issues?

PR Checklist

  • My PR follows all guidelines in the CONTRIBUTING.md file
  • My PR targets a develop branch OR targets another branch with a specific goal in mind

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.

1 participant