ff14wed / deucalion

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

Add cleanup for duplicate loads of Deucalion #29

Closed ff14wed closed 4 months ago

ff14wed commented 4 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