- sourcemod now intelligently unloads plugins which are leaking insane amounts of handles. these unloads get logged to sourcemod_fatal.log

- unloading is now delayed if a plugin is in the middle of a callstack

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401644
This commit is contained in:
David Anderson
2007-10-22 08:53:15 +00:00
parent 00ec666f18
commit af68caaf85
8 changed files with 149 additions and 28 deletions
+5
View File
@@ -1088,3 +1088,8 @@ cell_t *BaseContext::GetNullRef(SP_NULL_TYPE type)
return NULL;
}
#endif
bool BaseContext::IsInExec()
{
return m_InExec;
}
+1
View File
@@ -96,6 +96,7 @@ namespace SourcePawn
int LookupLine(ucell_t addr, uint32_t *line);
public:
void SetContext(sp_context_t *_ctx);
bool IsInExec();
private:
void SetErrorMessage(const char *msg, va_list ap);
void FlushFunctionCache();