summaryrefslogtreecommitdiffstats
path: root/lib/stream.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-31 18:12:12 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-31 18:12:12 +0000
commitf0f191c0786c329ca30bdfaa7a15fdc10fd2f5a9 (patch)
tree2d3fbe1a45846e44e64d1ccfcfdf9ea3a0c96a0b /lib/stream.lib.php
parent87d14792fd28b1e5cef413d6634dcf9524fd0253 (diff)
downloadampache-f0f191c0786c329ca30bdfaa7a15fdc10fd2f5a9.tar.gz
ampache-f0f191c0786c329ca30bdfaa7a15fdc10fd2f5a9.tar.bz2
ampache-f0f191c0786c329ca30bdfaa7a15fdc10fd2f5a9.zip
slight tweak to do gcing a little more often, might scale this back later
Diffstat (limited to 'lib/stream.lib.php')
-rw-r--r--lib/stream.lib.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index df07e821..745d1140 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -80,6 +80,10 @@ function clear_now_playing() {
*/
function show_now_playing() {
+ // GC!
+ Stream::gc_session();
+ gc_now_playing();
+
$web_path = Config::get('web_path');
$results = get_now_playing();
require Config::get('prefix') . '/templates/show_now_playing.inc.php';