From 98c1a18e570ac007aca01e266d93950cb6a36424 Mon Sep 17 00:00:00 2001 From: Fyren Date: Sun, 1 Mar 2009 16:43:48 -0500 Subject: [PATCH] Improved error message for handle leakage (bug 3646, r,a12=dvander). --- core/HandleSys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/HandleSys.cpp b/core/HandleSys.cpp index d6c36812..5b91a838 100644 --- a/core/HandleSys.cpp +++ b/core/HandleSys.cpp @@ -996,7 +996,7 @@ bool HandleSystem::TryAndFreeSomeHandles() } g_Logger.LogFatal("[SM] MEMORY LEAK DETECTED IN PLUGIN (file \"%s\")", highest_owner->GetFilename()); - g_Logger.LogFatal("[SM] Reloading plugin to free %d handles.", highest_handle_count); + g_Logger.LogFatal("[SM] Unloading plugin to free %d handles.", highest_handle_count); g_Logger.LogFatal("[SM] Contact the author(s) of this plugin to correct this error.", highest_handle_count); highest_owner->GetBaseContext()->ThrowNativeErrorEx(SP_ERROR_MEMACCESS, "Memory leak");