AVAsset.ReleaseAll
------------------

Release all asset objects.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVAsset](component_AVAsset.md) | [10.2](newinversion102.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "AVAsset.ReleaseAll" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Release all asset objects.  
You should better use [AVAsset.Release](AVAssetRelease.md) with the reference numbers you got earlier as this function releases all objects and that may include objects from other scripts.  
  
Be aware that on a server this may free objects, which are used by other scripts running in parallel!  
### Examples

Cleanup:

 Set Variable \[ $r ; Value: MBS ( "AVAsset.ReleaseAll" ) \]  
### See also

- [AVAsset.Release](AVAssetRelease.md)
- [AVExport.ReleaseAll](AVExportReleaseAll.md)
- [AVPlayer.ReleaseAll](AVPlayerReleaseAll.md)
- [Phidget.ReleaseAll](PhidgetReleaseAll.md)

### Release notes

- **Version 10.2**
    - Added [AVAsset.ReleaseAll](https://www.mbsplugins.eu/AVAssetReleaseAll.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 10.2pr4](https://www.mbsplugins.de/archive/2020-04-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 17th April 2020 , last changed 27th August 2023

  
[AVAsset.Release](AVAssetRelease.md) - [AVAsset.RequestImageTimePrecision](AVAssetRequestImageTimePrecision.md)

[HTML Version](AVAssetReleaseAll.shtml)