1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 17:46:09 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2016-04-10 13:01:49 +01:00
2 changed files with 18 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ class StreamHandler extends AbstractProcessingHandler
*/
public function close()
{
if (is_resource($this->stream)) {
if ($this->url && is_resource($this->stream)) {
fclose($this->stream);
}
$this->stream = null;