Correct call of destruct chain to release PMF file locks at unload

This commit is contained in:
Shoghi Cervantes
2013-06-03 23:24:33 +02:00
parent f2927df2b3
commit be83eaf521
4 changed files with 18 additions and 2 deletions

View File

@@ -51,6 +51,12 @@ class PMFLevel extends PMF{
return true;
}
public function close(){
$chunks = null;
unset($chunks, $chunkChange, $locationTable);
parent::close();
}
public function __construct($file, $blank = false){
if(is_array($blank)){
$this->create($file, 0);