Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ ~WorldStorage
Method
~WorldStorage
source/game/StarWorldStorage.cpp:95–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
WorldStorage::~WorldStorage() {
96
if (m_db.isOpen()) {
97
unloadAll(true);
98
m_db.close();
99
}
100
}
101
102
VersionedJson WorldStorage::worldMetadata() {
103
return readWorldMetadata(*m_db.find(metadataKey())).userMetadata;
Callers
nothing calls this directly
Calls
2
isOpen
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected