Add safety assertion

This commit is contained in:
Baptiste Wicht 2016-08-18 22:01:46 +02:00
parent c663cfc21c
commit d7224b62f8

View File

@ -147,6 +147,8 @@ size_t stdio::virtual_terminal::read_input_raw(size_t ms){
}
}
thor_assert(!raw_buffer.empty(), "There is a problem with the sleep queue");
return raw_buffer.pop();
}