fixed another non-crucial crash report glitch, will compile later
This commit is contained in:
parent
cbf460eac9
commit
f27fcc934b
|
@ -493,13 +493,13 @@ public class EaglerAdapterImpl2 {
|
||||||
public static final void removeEventHandlers() {
|
public static final void removeEventHandlers() {
|
||||||
try {
|
try {
|
||||||
win.removeEventListener("contextmenu", contextmenu);
|
win.removeEventListener("contextmenu", contextmenu);
|
||||||
win.removeEventListener("mousedown", mousedown);
|
canvas.removeEventListener("mousedown", mousedown);
|
||||||
win.removeEventListener("mouseup", mouseup);
|
canvas.removeEventListener("mouseup", mouseup);
|
||||||
win.removeEventListener("mousemove", mousemove);
|
canvas.removeEventListener("mousemove", mousemove);
|
||||||
win.removeEventListener("keydown", keydown);
|
win.removeEventListener("keydown", keydown);
|
||||||
win.removeEventListener("keyup", keyup);
|
win.removeEventListener("keyup", keyup);
|
||||||
win.removeEventListener("keypress", keypress);
|
win.removeEventListener("keypress", keypress);
|
||||||
win.removeEventListener("wheel", wheel);
|
canvas.removeEventListener("wheel", wheel);
|
||||||
}catch(Throwable t) {
|
}catch(Throwable t) {
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user