assert on Release (#1317)

This commit is contained in:
UdjinM6 2017-02-04 22:47:38 +04:00 committed by GitHub
parent bd3978fd4b
commit 1d45023f3e

View File

@ -480,6 +480,7 @@ public:
void Release() void Release()
{ {
nRefCount--; nRefCount--;
assert(nRefCount >= 0);
} }