示例#1
0
CScriptEngine::~CScriptEngine			()
{
	while (!m_script_processes.empty())
		remove_script_process(m_script_processes.begin()->first);
	flush_log				();
#ifdef USE_DEBUGGER
	xr_delete (m_scriptDebugger);
#endif
}
示例#2
0
CScriptEngine::~CScriptEngine			()
{
	while (!m_script_processes.empty())
		remove_script_process(m_script_processes.begin()->first);

#ifdef DEBUG
	flush_log					();
#endif // DEBUG

#ifdef USE_DEBUGGER
#	ifndef USE_LUA_STUDIO
		xr_delete				(m_scriptDebugger);
#	else // #ifndef USE_LUA_STUDIO
		disconnect_from_debugger();
#	endif // #ifndef USE_LUA_STUDIO
#endif
}