MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android
http://vespucci.io
Other
381 stars 83 forks source link

Replace synchronized by an ReentrantLock in StorageDelegator #2659

Closed simonpoole closed 3 months ago

simonpoole commented 3 months ago

Use the already existing lock in StorageDelegator instead of synchronized, this allows other parts of the app to determine if the delegator is actually currently locked or not, in particular the rendering code.