-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deduplication in object tracking
We weren't correctly making sure we aren't hooking on_destroy twice due to a typo and the fact that the sets that keep track of seen functions were bound to the template scope (they are now global) Also fixed possible crashes related to _certain_ on destroy calls having additional arguments. Due to the way calling convention works on Windowws x86-64, this is safe to do even if a caller doesn't supply them as the registers involved would just be unused.
- Loading branch information
Showing
1 changed file
with
20 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters