mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
Remove incorrect check. (#421)
This commit is contained in:
committed by
Philipp Moritz
parent
227c916c25
commit
1e84747e13
@@ -186,7 +186,10 @@ void SchedulingAlgorithmState_free(SchedulingAlgorithmState *algorithm_state) {
|
||||
object_entry *obj_entry, *tmp_obj_entry;
|
||||
HASH_ITER(hh, algorithm_state->local_objects, obj_entry, tmp_obj_entry) {
|
||||
HASH_DELETE(hh, algorithm_state->local_objects, obj_entry);
|
||||
CHECK(obj_entry->dependent_tasks->empty());
|
||||
/* The check below is commented out because it could fail if
|
||||
* SchedulingAlgorithmState_free is called in response to a SIGINT which
|
||||
* arrives in the middle of handle_object_available. */
|
||||
/* CHECK(obj_entry->dependent_tasks->empty()); */
|
||||
delete obj_entry->dependent_tasks;
|
||||
free(obj_entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user