Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When should I call close? #63

Closed
jishi92 opened this issue Jul 12, 2022 · 2 comments
Closed

When should I call close? #63

jishi92 opened this issue Jul 12, 2022 · 2 comments

Comments

@jishi92
Copy link

jishi92 commented Jul 12, 2022

I want use stay_open in my program,but it's always running。

Will it cause OOM ?

@barasher
Copy link
Owner

Hi @qisenshi !

Go-exiftool already uses exiftool's -stay_open capability.

Go-exiftool will shut down the underlying exiftool when the Close() method is called. When should it be closed ? When you don't need it anymore. Go-exiftool should not bring any OOM error.

@barasher
Copy link
Owner

I 'm closing the issue, but don't hesitate to reopen it if you have any question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants