mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-07 06:07:11 +02:00
Implemented the IRC library.
Fixed a bug in the Routine system that caused crashes when constructed with only the first three arguments because it wasn't attached. Implemented a gentle release of functions to not release them if the reference count is 1. Adjusted the Routine and Command system to not be necessary to include them in the module core. Moved the INI and XML libraries into their own namespace. Various other modifications and fixes.
This commit is contained in:
1 parent
b6e72e93a2
commit
bedf03c9cd
32 files changed
+10554
-297
No files matched your search
@@ -223,7 +223,7 @@ public:
|
||||
/// This doesn't call release if the reference count is 1.
|
||||
///
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
void Release2() {
|
||||
void ReleaseGently() {
|
||||
if(!IsNull()) {
|
||||
sq_release(vm, &env);
|
||||
if (sq_getrefcount(vm, &obj) > 1)
|
||||
|
||||
Reference in new issue
Block a user