Skip to content

Commit

Permalink
Fixes phalcon#1624
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgutierrez authored and patrick committed Aug 26, 2015
1 parent 41f8541 commit 7053e4b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ext/phalcon/session/adapter.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ext/phalcon/session/adapter.zep.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions phalcon/session/adapter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,12 @@ abstract class Adapter
{
return this->remove(index);
}

public function __destruct()
{
if this->_started {
session_write_close();
let this->_started = false;
}
}
}

0 comments on commit 7053e4b

Please sign in to comment.