protected Comment::releaseThreadLock()
Release the lock acquired for the thread in preSave().
File
- core/modules/comment/src/Entity/Comment.php, line 166
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\Entity
Code
protected function releaseThreadLock() { if ($this->threadLock) { \Drupal::lock()->release($this->threadLock); $this->threadLock = ''; } }
Please login to continue.