Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b3fbce13 authored by Tom Marshall's avatar Tom Marshall
Browse files

MtpServer: Fix concurrent access to mStorages

 * getStorage is called both internally with mMutex held and externally
   without mMutex held.  Create getStorageLocked for internal use and
   make getStorage a wrapper.

 * hasStorage is only called internally with mMutex held.  Make it a
   private method.

Change-Id: I8f73310ad6cca14cd88b8e29f20cc181b3a4fac3
parent 9bdc0f69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment