Clean state after destroy

This commit is contained in:
Caspian Rychlik-Prince 2005-05-04 20:38:29 +00:00
parent 1c49b2f969
commit 4747c4878b

View file

@ -309,6 +309,11 @@ public class Keyboard {
return;
created = false;
Display.getImplementation().destroyKeyboard();
keyDownBuffer.clear();
readBuffer.clear();
eventCharacter = 0;
eventKey = 0;
eventState = false;
}
/**