Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ObservableCallback.php

function ObservableCallback::__destruct

File

vendor/open-telemetry/sdk/Metrics/ObservableCallback.php, line 45

Class

ObservableCallback
@internal

Namespace

OpenTelemetry\SDK\Metrics

Code

public function __destruct() {
    if ($this->callbackDestructor !== null) {
        return;
    }
    if ($this->callbackId === null) {
        return;
    }
    $this->referenceCounter
        ->acquire(true);
    $this->referenceCounter
        ->release();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal