LJ::end_request

LJ::end_request — Clears cached DB handles (if $LJ::DISCONNECT_DBS is true), and disconnects memcached handles (if $LJ::DISCONNECT_MEMCACHE is true).

Use

LJ::end_request(void);

Source:

cgi-bin/ljlib.pl