| 465 | } |
| 466 | |
| 467 | void LuaWindow::ClearRef(LuaComponent *luaComponent) |
| 468 | { |
| 469 | auto it = grabbedComponents.find(luaComponent); |
| 470 | if (it != grabbedComponents.end()) |
| 471 | { |
| 472 | it->second.Clear(); |
| 473 | it->first->owner_ref = it->second; |
| 474 | it->first->SetParentWindow(nullptr); |
| 475 | grabbedComponents.erase(it); |
| 476 | } |
| 477 | } |
| 478 | |
| 479 | LuaWindow::~LuaWindow() |
| 480 | { |
no test coverage detected