Merge pull request #10121 from endragor/fix-cleanup-typo
Fix is_class check typo in ObjectDB::cleanup
This commit is contained in:
commit
a18c8606bb
1 changed files with 1 additions and 1 deletions
|
@ -2015,7 +2015,7 @@ void ObjectDB::cleanup() {
|
|||
String node_name;
|
||||
if (instances[*K]->is_class("Node"))
|
||||
node_name = " - Node Name: " + String(instances[*K]->call("get_name"));
|
||||
if (instances[*K]->is_class("Resoucre"))
|
||||
if (instances[*K]->is_class("Resource"))
|
||||
node_name = " - Resource Name: " + String(instances[*K]->call("get_name")) + " Path: " + String(instances[*K]->call("get_path"));
|
||||
print_line("Leaked Instance: " + String(instances[*K]->get_class()) + ":" + itos(*K) + node_name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue