summaryrefslogtreecommitdiffstats
path: root/src/java/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/net')
-rw-r--r--src/java/net/java/games/joal/ALCImpl.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/java/net/java/games/joal/ALCImpl.java b/src/java/net/java/games/joal/ALCImpl.java
index c689f7d..e6d9d36 100644
--- a/src/java/net/java/games/joal/ALCImpl.java
+++ b/src/java/net/java/games/joal/ALCImpl.java
@@ -41,12 +41,11 @@ final class ALCImpl implements ALC {
ALCImpl() {
System.loadLibrary("joal");
- Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
- public void run() {
- exit();
- }
- }));
-
+ //
+ // Fix to issue 6: Unable to terminate JOAL program with CRTL-C or kill Pid
+ // Shouldn't attempt to cleanup before exit, we will let the native driver
+ // do it.
+ //
}
public Device alcOpenDevice(String deviceName) {