diff --git a/src/plugins/select/bluegene/select_bluegene.c b/src/plugins/select/bluegene/select_bluegene.c index 1aadaffbee9066a606748836f544aa5579404de6..4238b7e62b8fa2caa2a224e109582782d24785a9 100644 --- a/src/plugins/select/bluegene/select_bluegene.c +++ b/src/plugins/select/bluegene/select_bluegene.c @@ -219,6 +219,8 @@ static int _delete_old_blocks(List curr_block_list, List found_block_list) itr_curr = list_iterator_create(curr_block_list); while ((init_record = list_next(itr_curr))) { list_remove(itr_curr); + /* make sure we query the state here. */ + list_push(bg_lists->main, init_record); list_push(destroy_list, init_record); } list_iterator_destroy(itr_curr); @@ -237,6 +239,8 @@ static int _delete_old_blocks(List curr_block_list, List found_block_list) if (found_record == NULL) { list_remove(itr_curr); + /* make sure we query the state here. */ + list_push(bg_lists->main, init_record); list_push(destroy_list, init_record); } }