public void release(){
  ReentrantLock lock=Bridge.getLock();
  if (lock.isHeldByCurrentThread()) {
    tearDown();
    lock.unlock();
  }
}

public void release ( ) { ReentrantLock lock = Bridge . getLock ( ) ; if ( lock . isHeldByCurrentThread ( ) ) { tearDown ( ) ; lock . unlock ( ) ; } }
cleans up the scene after an action .
