mirror of
				https://github.com/VCMP-SqMod/SqMod.git
				synced 2025-11-04 08:17:19 +01:00 
			
		
		
		
	Don't catch application exceptions in the entity instance destruction because they probably left the VM stack in an invalid state and the server should be allowed to crash.
This commit is contained in:
		@@ -37,14 +37,6 @@ namespace SqMod {
 | 
			
		||||
*/  LogErr("Squirrel exception caught " action); /*
 | 
			
		||||
*/  Logger::Get().Debug("%s", e.what()); /*
 | 
			
		||||
*/ } /*
 | 
			
		||||
*/ catch (const std::exception & e) /*
 | 
			
		||||
*/ { /*
 | 
			
		||||
*/  LogErr("Program exception caught " action " [%s]", e.what()); /*
 | 
			
		||||
*/ } /*
 | 
			
		||||
*/ catch (...) /*
 | 
			
		||||
*/ { /*
 | 
			
		||||
*/  LogErr("Unknown exception caught " action); /*
 | 
			
		||||
*/ } /*
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// ------------------------------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user