More cleanups to level provider hierarchy, move more garbage out of BaseLevelProvider

This commit is contained in:
Dylan K. Taylor
2018-10-04 16:02:55 +01:00
parent 4f421d561c
commit 4d9d4d7c60
5 changed files with 47 additions and 43 deletions

View File

@ -532,6 +532,10 @@ class LevelDB extends BaseLevelProvider{
return $this->db->get(LevelDB::chunkIndex($chunkX, $chunkZ) . self::TAG_VERSION) !== false;
}
public function doGarbageCollection(){
}
public function close(){
$this->db->close();
}