SICKNICKERONI
SICKNICKERONI
DIAdiscord.js - Imagine an app
Created by SICKNICKERONI on 8/19/2024 in #djs-voice
Proper disposal of a PlayerSubscription, and AudioPlayer
Cool! Thanks.
6 replies
DIAdiscord.js - Imagine an app
Created by SICKNICKERONI on 8/19/2024 in #djs-voice
Proper disposal of a PlayerSubscription, and AudioPlayer
thanks! i totally missed that thread while i was searching before asking. however, just to be clear, i'd like to see if you have the same understanding as me. from what i've read and seen in the source code: if i was to track just the subscription and perform cleanup properly (unsubscribing then destroying the connection then deleting the subscription from my map), i would leave no references which would mean the program would be free from leaks.
6 replies