Cleanup logging and fix a startup race condition that manifested on Firestone.
diff --git a/rsObjectBase.cpp b/rsObjectBase.cpp
index 6842c37..3219c39 100644
--- a/rsObjectBase.cpp
+++ b/rsObjectBase.cpp
@@ -33,14 +33,14 @@
void ObjectBase::incRef() const
{
mRefCount ++;
- //LOGE("ObjectBase %p inc ref %i", this, mRefCount);
+ //LOGV("ObjectBase %p inc ref %i", this, mRefCount);
}
void ObjectBase::decRef() const
{
rsAssert(mRefCount > 0);
mRefCount --;
- //LOGE("ObjectBase %p dec ref %i", this, mRefCount);
+ //LOGV("ObjectBase %p dec ref %i", this, mRefCount);
if (!mRefCount) {
delete this;
}