Removing Resources and Statistics

The sstore_resource_remove() interface performs the following tasks:

  • Decrements the internal reference count.

  • Removes the resource from the statistics store namespace if both of the following criteria are met:

    • The reference count is 0.

    • No statistics associated with the resource have an active provider.