ff14wed / deucalion

Injected Windows library for capturing decoded FFXIV packets
GNU General Public License v3.0
61 stars 5 forks source link

Add cleanup for duplicate loads of Deucalion #29

Closed ff14wed closed 2 months ago

ff14wed commented 2 months ago

Essentially just call FreeLibrary for each extra LoadLibrary call. Uses GlblcntUsage from MODULEENTRY32, which seems to work fine for injected DLLs. This is a best-effort attempt, so it won't do anything if there are any issues with this approach.

Fixes #28