Sorting was causing the index to not be correctly updated and the hooks became out of order. A more robust solution of using shared_ptrs has been implemented to ensure this reference cannot be broken, and data is correctly cleaned upon plugin unload.
Fixes #233 and fixes #210.
Sorting was causing the index to not be correctly updated and the hooks became out of order. A more robust solution of using shared_ptrs has been implemented to ensure this reference cannot be broken, and data is correctly cleaned upon plugin unload.