diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-05-19 17:12:09 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-01 13:22:56 +0200 |
commit | e08423f95631a1b06f2de0216c5765552092075c (patch) | |
tree | d39516c121367596211655e927c8183e7e2709d0 /lib/public | |
parent | 2d63fd77de1cbfdb0a3474cadf99f1dcf4962d5f (diff) | |
download | nextcloud-server-e08423f95631a1b06f2de0216c5765552092075c.tar.gz nextcloud-server-e08423f95631a1b06f2de0216c5765552092075c.zip |
release all locks on shutdown
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/lock/ilockingprovider.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/lock/ilockingprovider.php b/lib/public/lock/ilockingprovider.php index 0b17580faac..18fa47fa631 100644 --- a/lib/public/lock/ilockingprovider.php +++ b/lib/public/lock/ilockingprovider.php @@ -44,4 +44,9 @@ interface ILockingProvider { * @param int $type self::LOCK_SHARED or self::LOCK_EXCLUSIVE */ public function releaseLock($path, $type); + + /** + * release all lock acquired by this instance + */ + public function releaseAll(); } |