exif: prevent stay_open zombies

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-04-29 11:27:00 -07:00
parent 99c57880d3
commit 1013076051
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Feature**: Allow specifying precise coordinates while editing GPS metadata. - **Feature**: Allow specifying precise coordinates while editing GPS metadata.
- **Feature**: Whitelist x-msvideo mime type. - **Feature**: Whitelist x-msvideo mime type.
- **Fix**: Improved handling of duplicate Live Photos. - **Fix**: Improved handling of duplicate Live Photos.
- **Fix**: Prevent zombie processes when running in Docker.
- **Breaking**: Recognize v3.8 (minimum) is now required. - **Breaking**: Recognize v3.8 (minimum) is now required.
## [v5.0.0] - 2023-04-16 ## [v5.0.0] - 2023-04-16

View File

@ -27,6 +27,7 @@ class Exif
fclose(self::$staticPipes[1]); fclose(self::$staticPipes[1]);
fclose(self::$staticPipes[2]); fclose(self::$staticPipes[2]);
proc_terminate(self::$staticProc); proc_terminate(self::$staticProc);
proc_close(self::$staticProc);
self::$staticProc = null; self::$staticProc = null;
self::$staticPipes = null; self::$staticPipes = null;
} }