47eb7d60e5f09cc40867b0ed0737c324defecfec
When the server crashed and the process got terminated, the SqDriver instance was killed first (e.g. by atexit). SqDatabase tries to access SqDriver in its destructor. This patch tells SqDatabase to not use anything from SqDriver anymore after SqDriver got destroyed. Next to that, the clientprefs extension relied on the IDatabase pointer being valid to get the driver pointer. Cache the pointer, so the dbi system still knows the IDBThreadOperation belonged to the now gone driver, even after the database object is gone.
SourceMod
General
- SourceMod website: Source Engine scripting and server administration
- Forum: Discussion forum including plugin/extension development
- General documentation: Miscellaneous information about SourceMod
- Latest release: The latest stable SourceMod release
- Build snapshots: Builds of recent development versions
Development
- Issue tracker: Issues that require back and forth communication
- Building SourceMod: Instructions on how to build SourceMod itself using AMBuild
- SourcePawn scripting: SourcePawn examples and introduction to the language
- SourceMod extension development: C++ examples and introduction to various extension interfaces
Languages
C
59.7%
C++
18%
HTML
4.8%
Roff
3.8%
SourcePawn
3.4%
Other
10%