Skip to content

Commit

Permalink
Fixes #1624
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgutierrez committed Aug 23, 2015
1 parent 25bd2a5 commit e5f9d6b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
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.

2 changes: 1 addition & 1 deletion ext/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "kernel/globals.h"

#define PHP_PHALCON_NAME "phalcon"
#define PHP_PHALCON_VERSION "2.0.7"
#define PHP_PHALCON_VERSION "2.0.8"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.7.1b"
Expand Down
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 e5f9d6b

Please sign in to comment.