[LibOS] Make get_new_id
immediately move ID ownership if needed
#109
+43
−26
get_new_id
immediately move ID ownership if needed
#109