| 29 | } |
| 30 | |
| 31 | void ScriptExecMode::FinalRelease() |
| 32 | { |
| 33 | if (this->GetDoCommandModeInstance() != this) { |
| 34 | /* Ignore this error if the script is not alive. */ |
| 35 | if (ScriptObject::GetActiveInstance().IsAlive()) { |
| 36 | throw Script_FatalError("ScriptExecMode object was removed while it was not the latest *Mode object created."); |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | ScriptExecMode::~ScriptExecMode() |
| 42 | { |
nothing calls this directly
no test coverage detected