projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Payment Helper setzt $self->transactions zurück
[kivitendo-erp.git]
/
SL
/
Dispatcher.pm
diff --git
a/SL/Dispatcher.pm
b/SL/Dispatcher.pm
index
17aaab0
..
77074cc
100644
(file)
--- a/
SL/Dispatcher.pm
+++ b/
SL/Dispatcher.pm
@@
-318,6
+318,14
@@
sub handle_request {
$::form->footer;
$::form->footer;
+ if ($self->_interface_is_fcgi) {
+ # fcgi? send send reponse on its way before cleanup.
+ $self->{request}->Flush;
+ $self->{request}->Finish;
+ }
+
+ $::lxdebug->end_request;
+
# cleanup
$::auth->save_session;
$::auth->expire_sessions;
# cleanup
$::auth->save_session;
$::auth->expire_sessions;
@@
-327,9
+335,9
@@
sub handle_request {
$::form = undef;
$::myconfig = ();
$::request = undef;
$::form = undef;
$::myconfig = ();
$::request = undef;
- Form::disconnect_standard_dbh;
- $::lxdebug->end_request;
+ SL::DBConnect::Cache->reset_all;
+ Form::disconnect_standard_dbh;
$self->_watch_for_changed_files;
$self->_watch_for_changed_files;