+ function garbage_manager($force)
+ {
+ $this->app->garbage_manager($force);
+
+ foreach ($this->socks as $k => $sock) {
+ if ($this->s2u[intval($sock)]->sess == '') {
+ if ($this->s2u[intval($sock)]->rd_socket_get() != NULL) {
+ $this->s2u[intval($sock)]->rd_socket_set(NULL);
+ }
+ unset($this->socks[intval($sock)]);
+ unset($this->s2u[intval($sock)]);
+ fclose($sock);
+ printf("CLOSE ON GARBAGE MANAGER\n");
+ }
+ }
+ }
+