Targren / BetterRecords

MIT License
0 stars 0 forks source link

Client Freezes if stopping while music is playing #1

Open Targren opened 2 years ago

Targren commented 2 years ago

Version Info

Forge version:
Mod version: Inti Fork

Description

Client will not close while record is playing on Single Player. Not tested yet on SMP

USERSDIR\temp\natives-fdf574318d5c4a10997d831e3c96ca63 [2022-08-07 18:02:39 PM] java.nio.file.AccessDeniedException: USERSDIR\temp\natives-fdf574318d5c4a10997d831e3c96ca63\OpenAL64.dll [2022-08-07 18:02:39 PM] at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83) [2022-08-07 18:02:39 PM] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) [2022-08-07 18:02:39 PM] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) [2022-08-07 18:02:39 PM] at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) [2022-08-07 18:02:39 PM] at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) [2022-08-07 18:02:39 PM] at java.nio.file.Files.delete(Files.java:1126) [2022-08-07 18:02:39 PM] at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:30) [2022-08-07 18:02:39 PM] at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:27) [2022-08-07 18:02:40 PM] at java.nio.file.Files.walkFileTree(Files.java:2670) [2022-08-07 18:02:40 PM] at java.nio.file.Files.walkFileTree(Files.java:2742) [2022-08-07 18:02:40 PM] at com.atlauncher.utils.FileUtils.deleteDirectory(FileUtils.java:91) [2022-08-07 18:02:40 PM] at com.atlauncher.data.Instance.lambda$launch$22(Instance.java:1217) [2022-08-07 18:02:40 PM] at java.lang.Thread.run(Thread.java:750) [2022-08-07 18:02:40 PM] java.nio.file.AccessDeniedException: USERSDIR\temp\natives-fdf574318d5c4a10997d831e3c96ca63\OpenAL64.dll at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1126) at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:30) at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:27) at java.nio.file.Files.walkFileTree(Files.java:2670) at java.nio.file.Files.walkFileTree(Files.java:2742) at com.atlauncher.utils.FileUtils.deleteDirectory(FileUtils.java:91) at com.atlauncher.data.Instance.lambda$launch$22(Instance.java:1217) at java.lang.Thread.run(Thread.java:750)

Steps to reproduce:

  1. Etch Record
  2. Start playing record
  3. Try to close game

What I expect to happen:

Playback stops, client closes

What actually happens:

Client locks, music keeps playing until client is killed from launcher