added FunctionBase::Clear() which is called at the end of a request
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "log.h"
|
||||
#include "plugin.h"
|
||||
#include "misc.h"
|
||||
|
||||
#include "functions/functionbase.h"
|
||||
|
||||
|
||||
namespace Winix
|
||||
@@ -100,6 +100,9 @@ void Request::Clear()
|
||||
RemovePostFileTmp(post_file_tab);
|
||||
ClearOutputStreams();
|
||||
|
||||
if( function )
|
||||
function->Clear();
|
||||
|
||||
post_tab.clear();
|
||||
post_file_tab.clear();
|
||||
cookie_tab.clear();
|
||||
@@ -131,7 +134,7 @@ void Request::Clear()
|
||||
dir_tab.clear();
|
||||
last_item = &item;
|
||||
is_item = false;
|
||||
function = 0;
|
||||
function = nullptr;
|
||||
param_tab.clear();
|
||||
anchor.clear();
|
||||
|
||||
|
Reference in New Issue
Block a user