mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-07 17:29:56 +01:00
fix: call base destroy
fix: null references
This commit is contained in:
parent
c4305dc5a0
commit
098a932fc9
|
|
@ -123,6 +123,12 @@ public class AL extends CoreAL {
|
|||
alc.destroyContext(context.context);
|
||||
alc.closeDevice(device.device);
|
||||
alc.destroy();
|
||||
|
||||
alc = null;
|
||||
device = null;
|
||||
context = null;
|
||||
|
||||
super.destroy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue