XObject::host_object -> XObject::is_host_object

This commit is contained in:
Dr. Chat
2015-12-02 19:57:59 -06:00
committed by Ben Vanik
parent 1e36ea8b69
commit 7e88e54cbe
3 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ void ObjectTable::PurgeAllObjects() {
auto lock = global_critical_region_.Acquire();
for (uint32_t slot = 0; slot < table_capacity_; slot++) {
auto& entry = table_[slot];
if (entry.object && !entry.object->host_object()) {
if (entry.object && !entry.object->is_host_object()) {
entry.handle_ref_count = 0;
entry.object->Release();