2
0
Fork 0

Only call li_plugins_handle_vrclose in vrequest_reset if vrequest is in use

This commit is contained in:
Stefan Bühler 2010-04-03 21:32:02 +02:00
parent bd40dec873
commit 19bc091432
1 changed files with 3 additions and 1 deletions

View File

@ -248,7 +248,9 @@ void li_vrequest_reset(liVRequest *vr, gboolean keepalive) {
liServer *srv = vr->wrk->srv;
li_action_stack_reset(vr, &vr->action_stack);
li_plugins_handle_vrclose(vr);
if (vr->state != LI_VRS_CLEAN) {
li_plugins_handle_vrclose(vr);
}
{
gint len = vr->plugin_ctx->len;
g_ptr_array_set_size(vr->plugin_ctx, 0);