zsawyer / MumbleLink

Minecraft + Mumble + MumbleLink = You hear where voices come from and how far away they are! This is a Minecraft mod based on "Minecraft Forge". It's purpose is to be able to use Minecraft in conjunction with Mumble's positional audio feature (http://mumble.sourceforge.net/).
http://www.minecraftforum.net/topic/217587-
GNU Lesser General Public License v3.0
109 stars 24 forks source link

Extra Temp folders being created #17

Closed magneticflux- closed 4 years ago

magneticflux- commented 7 years ago

Every time a DLL is loaded, a new temp file is created and never removed. I now have several dozen folders called MumbleLink7060520309212793916native. A similar problem occured on another project I worked on: andrew-hoffman/halfnes/issues/37

zsawyer commented 4 years ago

This has to do with how JNA unpacks the native libraries. I would assume it doesn't use the deleteOnExit or this is unreliable (maybe the normal Minecraft shutdown is not considered a normal termination of the virtual machine.

Is this issue still existent on normal MC exits?

magneticflux- commented 4 years ago

Sorry, I don't have information on this anymore and I primarily use Fabric now. I did some work on extracting temp files here to use here that might help if it comes up in the future again though.