Skip to content

properties.msgpack.lock is not deleted after changing the file #109

@lucarin91

Description

@lucarin91

Describe the problem

The properties.msgpack.lock should protect properties.msgpack only during read/write operations, instead seems that the lock file remain there indefinitivelly after the first access.

To reproduce

rm .local/share/arduino-app-cli/properties.msgpack.lock
curl http://localhost:8800/v1/properties/asd
file .local/share/arduino-app-cli/properties.msgpack.lock

Expected behavior

I would expect that the file was removed after the request ends

Arduino App CLI version

0.6.8

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions