fixed: as we have insert_page ezc function now
we cannot delete ezc patterns when PatternCacher::GetPattern() method is called because we can delete a pattern which is in use now deleting is performed at the end of a request git-svn-id: svn://ttmath.org/publicrep/winix/trunk@751 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -438,11 +438,12 @@ public:
|
||||
void SetFunctions(Functions * pfunctions);
|
||||
void SetSessionManager(SessionManager * psession_manager);
|
||||
|
||||
void Init();
|
||||
void ClearPatterns();
|
||||
void RequestEnd();
|
||||
void ReadTemplates();
|
||||
void ReadNewIndexTemplates();
|
||||
void ReadIndexFileNames(bool add_pattern = false);
|
||||
void CreateFunctions(); // should be called before reading patterns (patterns will cache ezc functions)
|
||||
void Generate();
|
||||
void GenerateRunRaw();
|
||||
void Generate(Ezc::Pattern & pattern);
|
||||
@@ -455,6 +456,7 @@ private:
|
||||
void SetLocale();
|
||||
void SetHtmlFilter();
|
||||
void ClearPatterns(TemplatesFunctions::Patterns & patterns, size_t len);
|
||||
void CreateFunctions(); // should be called before reading patterns (patterns will cache ezc functions)
|
||||
|
||||
TemplatesFunctions::EzcGen generator;
|
||||
std::wstring temp;
|
||||
|
Reference in New Issue
Block a user