Add unregisterSystem functionality

This commit is contained in:
Michał Masiukiewicz 2022-11-10 10:18:46 +01:00
parent 881d6d113b
commit 01da5f9315
2 changed files with 37 additions and 0 deletions

View file

@ -89,6 +89,14 @@ struct System
return cast(const(char)[]) m_name;
}
/************************************************************************************************************************
Return false if system was unregistered, true otherwise.
*/
export bool isAlive() nothrow @nogc
{
return m_system_pointer != null;
}
package:
void destroy()