Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Commit

Permalink
Merge branch 'issue269' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
xmorave2 committed Jun 24, 2021
2 parents 86ad35c + 72ec20e commit 9f0e367
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function __destruct()
if (is_resource($this->stream)) {
$this->stream = null; //Could be listened by others
}
if ($this->cleanup) {
if ($this->cleanup && is_string($this->streamName) && file_exists($this->streamName)) {
ErrorHandler::start(E_WARNING);
unlink($this->streamName);
ErrorHandler::stop();
Expand Down

0 comments on commit 9f0e367

Please sign in to comment.