DirectoryWatcher.ReleaseAll
---------------------------

Releases all directory watchers.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DirectoryWatcher](component_DirectoryWatcher.md) | [7.4](newinversion74.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

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

none

### Result

Returns OK or error.

### Description

Releases all directory watchers.  
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 ( "DirectoryWatcher.ReleaseAll" ) \]  
### See also

- [DirectoryWatcher.Release](DirectoryWatcherRelease.md)

### Release notes

- **Version 7.4**
    - Added [DirectoryWatcher.ReleaseAll](http://www.mbsplugins.eu/DirectoryWatcherReleaseAll.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 7.4pr2](https://www.mbsplugins.de/archive/2017-08-14/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 6th August 2017 , last changed 27th August 2023

  
[DirectoryWatcher.Release](DirectoryWatcherRelease.md) - [DirectoryWatcher.SetEvaluate](DirectoryWatcherSetEvaluate.md)

[HTML Version](DirectoryWatcherReleaseAll.shtml)