Changes

Summary

  1. Fixed resource leak related to Audio native resources not freeing after (commit: 0658fdd) (details)
  2. Added synch locks when setting up audio connection to prevent race (commit: 42edfd5) (details)
Commit 0658fdde99c905dcd41c0a0bcd62db25d4dc83e8 by Austin Keener
Fixed resource leak related to Audio native resources not freeing after
connection was terminated.
(commit: 0658fdd)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioConnection.java (diff)
Commit 42edfd5905b17e62f713cb3d1888b0ce31f03324 by Austin Keener
Added synch locks when setting up audio connection to prevent race
conditions.
(commit: 42edfd5)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceServerUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/AudioManagerImpl.java (diff)