mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove assert statement from window.
This commit is contained in:
parent
496e45b190
commit
e89eff2093
1 changed files with 0 additions and 1 deletions
|
@ -242,7 +242,6 @@ impl Window {
|
|||
fn handle_window_event(&self, event: glutin::Event) -> bool {
|
||||
match event {
|
||||
Event::ReceivedCharacter(ch) => {
|
||||
assert!(self.pending_key_event_char.get().is_none());
|
||||
if !ch.is_control() {
|
||||
self.pending_key_event_char.set(Some(ch));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue