core: simplify sanityCheckWorkspaces

This commit is contained in:
Vaxry 2024-04-05 19:32:05 +01:00
parent 4909b0f350
commit 094bce8118
3 changed files with 8 additions and 34 deletions

View file

@ -61,6 +61,8 @@ class CWorkspace {
// Whether the user configured command for on-created-empty has been executed, if any
bool m_bOnCreatedEmptyExecuted = false;
bool m_bPersistent = false;
// Inert: destroyed and invalid. If this is true, release the ptr you have.
bool inert();