mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
AWTInputAdapter: Destroy Keyboard/Mouse before destroying the adapter
This commit is contained in:
parent
d2de70f2d9
commit
f56ebc21a9
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue