AWTInputAdapter: Destroy Keyboard/Mouse before destroying the adapter

This commit is contained in:
Elias Naur 2006-11-19 21:49:10 +00:00
parent d2de70f2d9
commit f56ebc21a9
1 changed files with 2 additions and 2 deletions

View File

@ -90,10 +90,10 @@ public final class AWTInputAdapter {
public static synchronized void destroy() {
if (awt_input != null) {
awt_input.destroy();
awt_input = null;
Mouse.destroy();
Keyboard.destroy();
awt_input.destroy();
awt_input = null;
}
}
}