public function BrightcoveVideoController::__destruct in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Controller/BrightcoveVideoController.php \Drupal\brightcove\Controller\BrightcoveVideoController::__destruct()
- 3.x src/Controller/BrightcoveVideoController.php \Drupal\brightcove\Controller\BrightcoveVideoController::__destruct()
Destructor.
File
- src/
Controller/ BrightcoveVideoController.php, line 257
Class
- BrightcoveVideoController
- Provides controller for video related callbacks.
Namespace
Drupal\brightcove\ControllerCode
public function __destruct() {
// Make sure that the semaphore gets released.
if ($this
->state()
->get('brightcove_video_semaphore', FALSE) == TRUE) {
$this
->state()
->set('brightcove_video_semaphore', FALSE);
}
}