Remove incorrect check. (#421)

This commit is contained in:
Robert Nishihara
2017-04-03 14:51:53 -07:00
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);
}