Rev 1152 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1152 | Rev 1232 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | 47 | ||
48 | /** |
48 | /** |
49 | * |
49 | * |
50 | */ |
50 | */ |
51 | public function __destruct() { |
51 | public function __destruct() { |
- | 52 | if ($this->res) { |
|
52 | if ($this->res) $this->res->close(); |
53 | $this->res->close(); |
- | 54 | $this->res = null; |
|
- | 55 | } |
|
53 | } |
56 | } |
54 | 57 | ||
55 | /** |
58 | /** |
56 | * @return bool |
59 | * @return bool |
57 | */ |
60 | */ |