lz4 / lz4-java

LZ4 compression for Java
Apache License 2.0
1.11k stars 252 forks source link

liblz4-java doesn't clean temporary files #102

Closed maver1ck closed 6 years ago

maver1ck commented 7 years ago

Library creates files in /tmp/liblz4-java*.so path and leaves them at program finish. Is is possible to clean them up ?

odaira commented 7 years ago

lz4-java is supposed to clean it up at program exit, unless your JVM crashes: https://github.com/lz4/lz4-java/blob/master/src/java/net/jpountz/util/Native.java#L124. What is your platform?

odaira commented 7 years ago

Do you still see this problem?

odaira commented 7 years ago

I will close this issue unless anyone has any objection.