Fixed reference data loss and memory leaks
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
{
|
{
|
||||||
internal struct Reference<T>
|
internal class Reference<T>
|
||||||
where T : CachedObject<long>
|
where T : CachedObject<long>
|
||||||
{
|
{
|
||||||
private Action<T> _onCache, _onUncache;
|
private Action<T> _onCache, _onUncache;
|
||||||
|
|||||||
Reference in New Issue
Block a user