mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-14 15:06:52 -04:00
Add safety assertion
This commit is contained in:
parent
c663cfc21c
commit
d7224b62f8
@ -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();
|
return raw_buffer.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user