make sBackend volatile
This commit is contained in:
parent
0608627deb
commit
ab74a3b5a5
@ -71,7 +71,7 @@ public class MediaLibrary {
|
||||
/**
|
||||
* Our static backend instance
|
||||
*/
|
||||
private static MediaLibraryBackend sBackend;
|
||||
private volatile static MediaLibraryBackend sBackend;
|
||||
/**
|
||||
* An instance to the created scanner thread during our own creation
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user