Skip to content
Success

Changes

Summary

  1. Fixed 5 possible memory leaks  (#326) (commit: 98bfcb9) (details)
Commit 98bfcb963a6a25364f8bbddf210034723415a005 by noreply
Fixed 5 possible memory leaks  (#326)
This includes 4 static maps as well as the shutdown hook which held
never cleared references to JDA objects.
helping me finding these.
(commit: 98bfcb9)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildMemberRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageReactionHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/GuildLock.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/TextChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/ChannelRecipientAddHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/RelationshipRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ReadyHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/CallCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/TypingStartHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/UserImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageBulkDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildMemberAddHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/entities/impl/JDAClientImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/requests/restaction/pagination/MentionPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/InviteImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/CallUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildMemberUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildMembersChunkHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/bot/entities/impl/JDABotImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/AccountManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageReactionBulkRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/MemberImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/requests/restaction/ApplicationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildRoleDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildVoiceStateImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/ChannelRecipientRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/GuildController.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/InviteAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildSyncHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceStateUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/SocketHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ChannelUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildRoleUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/ReactionPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/CallDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildRoleCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ChannelDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/AudioManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceServerUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/PresenceUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/EventCache.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildBanHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageHistory.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/VoiceChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/EmoteImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/RelationshipAddHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/EntityBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ChannelCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/WebhookAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildEmojisUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/RoleAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/ChannelAction.java (diff)