forslund / combo-lock

Apache License 2.0
4 stars 1 forks source link

Catch exceptions around memorytempfile #12

Closed NeonDaniel closed 2 years ago

NeonDaniel commented 2 years ago

Handles a failure to acquire a lock in memory and falls back to a file on disk. Resolves an incompatibility with MacOS that is inherited by many packages/plugins implementing this package.

Bug reported and tested by @NeonMariia

forslund commented 2 years ago

Since the tests all pass and this fixes an existing issue I'll merge it directly but I might do some refactoring of it after publishing.

Thank you very much @NeonDaniel and @NeonMaaria for identifying and fixing the issue