| 46 | } |
| 47 | |
| 48 | void ScriptAsyncMode::FinalRelease() |
| 49 | { |
| 50 | if (this->GetDoCommandAsyncModeInstance() != this) { |
| 51 | /* Ignore this error if the script is not alive. */ |
| 52 | if (ScriptObject::GetActiveInstance().IsAlive()) { |
| 53 | throw Script_FatalError("Asyncmode object was removed while it was not the latest *Mode object created."); |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | ScriptAsyncMode::~ScriptAsyncMode() |
| 59 | { |
nothing calls this directly
no test coverage detected