mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Correct call of destruct chain to release PMF file locks at unload
This commit is contained in:
parent
f2927df2b3
commit
be83eaf521
4 changed files with 18 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue