Fixed reference data loss and memory leaks

This commit is contained in:
RogueException
2015-11-22 19:56:15 -04:00
parent aaf7a02dee
commit 53206cae93

View File

@@ -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;