Release the lock acquired for the thread in preSave().
File
- drupal/core/modules/comment/lib/Drupal/comment/CommentStorageController.php, line 252
- Definition of Drupal\comment\CommentStorageController.
Class
- CommentStorageController
- Defines the controller class for comments.
Namespace
Drupal\comment
Code
protected function releaseThreadLock() {
if ($this->threadLock) {
lock()
->release($this->threadLock);
$this->threadLock = '';
}
}