src/locks.cc
void Lock::Eject(EjectedReason reason) {
  if (owner_ != nullptr) {
    owner_->lock_ = nullptr;
    owner_->reason_ = reason;
    owner_ = nullptr;
  }
}
// Disconnect this Lock from the LockWrap that might be currently holding it.
Disconnect this Lock from the LockWrap that might be currently holding it.
Disconnect this Lock from the LockWrap that might be currently holding it .
void Lock::Eject(EjectedReason reason) {
  if (owner_ != nullptr) {
    owner_->lock_ = nullptr;
    owner_->reason_ = reason;
    owner_ = nullptr;
  }
}
void Lock :: Eject ( EjectedReason reason ) { if ( owner_ != nullptr ) { owner_ -> lock_ = nullptr ; owner_ -> reason_ = reason ; owner_ = nullptr ; } }
Disconnect this Lock from the LockWrap that might be currently holding it.
Disconnect this Lock from the LockWrap that might be currently holding it .