p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
MIT License
89 stars 27 forks source link

fix: clean up of VEH #194

Closed NeKzor closed 9 months ago

NeKzor commented 10 months ago

The RemoveVectoredExceptionHandler API takes a handle created by AddVectoredExceptionHandler as an argument and not a pointer to the handler function. This fixes a crash when the process tries to call the handler function even when the module is unloaded.