Skip to content

fix: Prevent VirtualFunction memory leak in native layer#1121

Merged
roflmuffin merged 3 commits intoroflmuffin:mainfrom
ELDment:main-2
Nov 17, 2025
Merged

fix: Prevent VirtualFunction memory leak in native layer#1121
roflmuffin merged 3 commits intoroflmuffin:mainfrom
ELDment:main-2

Conversation

@ELDment
Copy link
Copy Markdown
Contributor

@ELDment ELDment commented Nov 16, 2025

Prevent VirtualFunction memory leak in native layer

image
===== Dumping leaks =====
        Vector: 0 (0 B)
        Angles: 0 (0 B)
        GameEvents: 0 (~B)
        Virtual Functions: 2 (160 B)
        Total size: 160 B
===== Dumping leaks =====

Based on the idea from #1090 and suggestions from #1090 (comment) and #1090 (comment)

@ELDment ELDment requested a review from roflmuffin as a code owner November 16, 2025 05:57
@ELDment ELDment requested a review from roflmuffin November 17, 2025 01:56
@roflmuffin roflmuffin enabled auto-merge (squash) November 17, 2025 01:58
@roflmuffin
Copy link
Copy Markdown
Owner

Thank you!

@roflmuffin roflmuffin merged commit ff29836 into roflmuffin:main Nov 17, 2025
6 checks passed
@ELDment ELDment deleted the main-2 branch November 17, 2025 02:09
dollannn pushed a commit to playpark/CounterStrikeSharp that referenced this pull request Dec 6, 2025
This was referenced Dec 8, 2025
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.

2 participants