AWTInputAdapter: Destroy Keyboard/Mouse before destroying the adapter
This commit is contained in:
parent
d2de70f2d9
commit
f56ebc21a9
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue