Browse Source

pgraph: remove pointless lock grab from RenderAttrib destructor

rdb 6 years ago
parent
commit
db8221a03d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      panda/src/pgraph/renderAttrib.cxx

+ 0 - 2
panda/src/pgraph/renderAttrib.cxx

@@ -45,8 +45,6 @@ RenderAttrib() {
  */
 RenderAttrib::
 ~RenderAttrib() {
-  LightReMutexHolder holder(*_attribs_lock);
-
   // unref() should have cleared this.
   nassertv(_saved_entry == -1);
 }