Merge pull request #62025 from smix8/navigation_cb_invalid_obj_4.x
This commit is contained in:
commit
becfe93092
1 changed files with 2 additions and 1 deletions
|
@ -65,8 +65,9 @@ void RvoAgent::dispatch_callback() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Object *obj = ObjectDB::get_instance(callback.id);
|
Object *obj = ObjectDB::get_instance(callback.id);
|
||||||
if (obj == nullptr) {
|
if (!obj) {
|
||||||
callback.id = ObjectID();
|
callback.id = ObjectID();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Callable::CallError responseCallError;
|
Callable::CallError responseCallError;
|
||||||
|
|
Loading…
Reference in a new issue