suraj0208/jnativehook

NativeLibrary remove

Closed this issue · 3 comments

If you run this (on Windows) a copy of the Native dll
is created under "C:\Users\<user>\AppData\Local\Temp\" but 
this copy will never be deleted...

(in GlobalScreen.java line 456 you try to delete the temp file by javas
delete file on exit method but this doesnt theme to work... maybe because 
at the time where it should be deleted it is still loaded...)


Original issue reported on code.google.com by michi.zu...@gmail.com on 16 Jul 2014 at 4:54

[deleted comment]

Original comment by a...@1stleg.com on 16 Jul 2014 at 5:44

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium
Somewhat fixed in the trunk.  It will take a rather large redesign and some 
questionable class-loading to have the library cleanup after itself so I have 
decided to remove that portion.  The library will instead extract to a uniform 
file name and recycle previously extracted libraries with the same version.  
Updated src is in HEAD on https://github.com/kwhat/jnativehook and nightly is 
attached to issue #43 comment #46.

Original comment by a...@1stleg.com on 24 Aug 2014 at 6:21

  • Changed state: Fixed