OK, so now that Drifter merged those changes into his repository, I've made one last change before I posted it here... I changed the version number to 1.0.14-alpha.
Source Code is
here (except the version number change in smsdk_confg.h)
Changes
- Fix memory leak where Listener objects were never deleted.
- Extension will now properly stop when one of its dependencies are unloaded (SDKTools or SDKHooks)
- The extension will no longer cause the server to crash when it unloads if SDKHooks was unloaded first. This commonly caused the server to crash when the server was shutdown.
Things not fixed:
- Manually unloading the extension will cause the server to crash. This is a bug in SourceMod's Handle system that is fixed in the SourceMod development versions (1.6.0).