Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibreSprite/LibreSprite
/ destroyDocument
Method
destroyDocument
src/app/document_access.h:184–193 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
182
}
183
184
void destroyDocument() {
185
ASSERT(m_document != NULL);
186
187
m_document->close();
188
Document* doc = m_document;
189
unlock();
190
191
delete doc;
192
m_document = nullptr;
193
}
194
195
};
196
Callers
2
selectActiveDocument
Method · 0.80
onCloseView
Method · 0.80
Calls
1
close
Method · 0.45
Tested by
no test coverage detected